Skip to content

Commit adf976e

Browse files
feat: Unify managed auth reauth eligibility and blockers
Stainless-Generated-From: 2e918c1fb037bbdb765dbd2f4d54eb6a97d29fda
1 parent 66f6eaf commit adf976e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/resources/auth/connections.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,10 @@ export interface ManagedAuth {
332332
* - `viable_plans_found` — at least one stored login plan can be replayed
333333
* - `no_requirements_recorded` — no recorded credential requirements to fail
334334
* against
335-
* - `requirements_satisfiable` — recorded requirements can be met by the attached
336-
* credential
335+
* - `totp_reauth_allowed` — TOTP is the only recorded requirement and is safe to
336+
* attempt automatically
337+
* - `requirements_satisfiable` — recorded requirements contain no recognized
338+
* blocker
337339
*
338340
* Negative values (a human must complete the login flow):
339341
*
@@ -360,6 +362,7 @@ export interface ManagedAuth {
360362
| 'has_credential'
361363
| 'viable_plans_found'
362364
| 'no_requirements_recorded'
365+
| 'totp_reauth_allowed'
363366
| 'requirements_satisfiable'
364367
| 'no_prior_successful_login'
365368
| 'no_credential'

0 commit comments

Comments
 (0)