NMAAuthenticatorSelector
@objc
public protocol NMAAuthenticatorSelector
The object in charge of selecting the authenticator to be used to perform an operation.
See
NMARegistration
-
The authenticator selection interaction. The implementing class must ask the user to choose one of the authenticators exposed by the
NMAAuthenticatorSelectionContext
and provide the choice to theNMAAuthenticatorSelectionHandler
.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: NMAAuthenticatorSelectionContext, handler: NMAAuthenticatorSelectionHandler)
Parameters
context
the object containing the list of existing authenticators.
handler
the object that is notified of the selection result.