NMAAccountSelector
@objc
public protocol NMAAccountSelector
The object in charge of selecting an account. This protocol must be conformed by the user of the SDK only when username-less out-of-band authentication is required with multiple accounts.
-
The account selection interaction. The implementing object must ask the user to choose one of the accounts exposed by the
NMAAccountSelectionContext
and provide the choice to theNMAAccountSelectionHandler
.Declaration
Swift
func selectAccount(context: NMAAccountSelectionContext, handler: NMAAccountSelectionHandler)
Parameters
context
the object containing the list of existing authenticators.
handler
the object that must be notified with the selection result.