setPreferredAuthenticator
Sets the preferred Authenticator of the currently authenticated User.
- To authenticate a user see authenticateUser
Future<void> setPreferredAuthenticator(OWAuthenticatorType authenticatorType)
| Parameter | Description |
|---|---|
| authenticatorType | OWAuthenticatorType enum either biometric or pin |
await Onegini.instance.userClient.setPreferredAuthenticator(OWAuthenticatorType.pin)