authenticateUser
Starts authentication flow. On success, the function will return a RegistrationResponse
.
Future<RegistrationResponse> authenticateUser(BuildContext? context, String profileId, String? registeredAuthenticatorId)
Parameter | Type | Description |
---|---|---|
context | BuildContext? | |
profileId | String | ProfileId of the user that you want to authenticate. |
registeredAuthenticatorId | String? | Optional registeredAuthenticatorId otherwise the default authenticator will be used. Usually it is Pin authenticator. |
RegistrationResponse Interface
The registrationResponse object is defined as: