IAuthUIWaitForTwoFactorCode Method |
Two Factor Authentication is required.
Namespace: KeeperSecurity.Authentication.AsyncAssembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5
Syntax Task<bool> WaitForTwoFactorCode(
ITwoFactorChannelInfo[] channels,
CancellationToken token
)
Parameters
- channels ITwoFactorChannelInfo
- List of available 2FA channels.
- token CancellationToken
- Cancellation token. Keeper SDK notifies the client passed 2FA.
Return Value
TaskBooleanAwaitable boolean result.
TrueTrue resume login,
False cancel.
Remarks
Clients to display the list of available 2FA channels.
When user picks one clients to check
-
if channel implements push interface clients displays an button for each push action
-
If channel implements 2FA duration interface clients may show 2FA expiration picker.
-
If channel implements 2FA code interface clients displays 2FA code input.
When customer enters the code and click Next clients returns the code to
the SDK.
See Also