AuthenticatorSelector
public protocol AuthenticatorSelector
The object in charge of selecting the authenticator to be used to perform an operation.
Note
The SDK does not provide implementations of this interface. The implementation must be done by the user of the SDK.
See
See
-
The authenticator selection interaction. The implementing class must ask the user to choose one of the authenticators exposed by the
AuthenticatorSelectionContext
and provide the choice to theAuthenticatorSelectionHandler
. This object will be invoked in theDispatchQueue.main
thread.Note
Note that in the case of transaction confirmation (which can be considered a special case of authentication) the implementing classes must present the contents of the transaction (if any) to the user for verification (- See:
transactionConfirmationData
).Declaration
Swift
func selectAuthenticator(context: AuthenticatorSelectionContext, handler: AuthenticatorSelectionHandler)
Parameters
context
the object containing the list of existing authenticators.
handler
the object that is notified of the selection result.