resume

abstract suspend fun resume(flowContext: DeviceAuthorizationFlowContext): ERROR CLASS: Symbol not found for Result<ERROR CLASS: Symbol not found for TokenInfo>

Polls the token endpoint until the user authorizes or the session expires.

Should be called repeatedly after start. Retries automatically on authorization_pending and slow_down errors per RFC 8628 §3.5.

Return

Result.success with TokenInfo on authorization, or Result.failure with:

Parameters

flowContext

the context returned from start.