Click or drag to resize

IAuthUIWaitForDeviceApproval Method

Device Approval is required.

Namespace: KeeperSecurity.Authentication.Async
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5
Syntax
C#
Task<bool> WaitForDeviceApproval(
	IDeviceApprovalChannelInfo[] channels,
	CancellationToken token
)

Parameters

channels  IDeviceApprovalChannelInfo
List of available device approval channels.
token  CancellationToken
Cancellation token. Keeper SDK notifies the client when device is successfully approved.

Return Value

TaskBoolean
Awaitable boolean result. TrueTrue resume login, False cancel.
Remarks
Clients to display the list of available device approval channels. When user picks one clients to check if channel implements push interface then invoke push action If channel implements 2FA duration interface clients may show 2FA expiration picker.
See Also