authenticateUser
Starts authentication flow. On success, the function will return a OWRegistrationResponse.
Future<OWRegistrationResponse> authenticateUser(
String profileId,
OWAuthenticatorType? authenticatorType,
)
Parameter | Type | Description |
---|---|---|
profileId | String | ProfileId of the user that you want to authenticate. |
authenticatorType | OWAuthenticatorType? | Optional authenticatorType to use for authentication |
var registrationResponse = await Onegini.instance.userClient
.authenticateUser(context, profileId, authenticatorType);