UserClient class
Сlass with basic methods available to the developer.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticateDevice(
List< String> ? scopes) → Future<bool> -
authenticateUser(
BuildContext? context, String? registeredAuthenticatorId) → Future< RegistrationResponse> - Starts authentication flow.
-
authenticateUserImplicitly(
List< String> ? scopes) → Future<UserProfile> -
changePin(
BuildContext? context) → Future< void> - Starts change pin flow.
-
deregisterAuthenticator(
BuildContext? context, String authenticatorId) → Future< bool> -
deregisterUser(
String profileId) → Future< bool> - Deletes the user.
-
fetchUserProfiles(
) → Future< List< UserProfile> > - User profiles
-
getAllAuthenticators(
BuildContext? context) → Future< List< OneginiListResponse> > -
getAppToWebSingleSignOn(
String url) → Future< OneginiAppToWebSingleSignOn> - Single sign on the user web page.
-
getIdentityProviders(
BuildContext? context) → Future< List< OneginiListResponse> > - Returns a list of available identity providers.
-
getNotRegisteredAuthenticators(
BuildContext? context) → Future< List< OneginiListResponse> > - Returns a list of authenticators available to the user, but not yet registered.
-
getRegisteredAuthenticators(
BuildContext? context) → Future< List< OneginiListResponse> > - Returns a list of authenticators registered and available to the user.
-
handleRegisteredUserUrl(
BuildContext? context, String? url, {WebSignInType signInType = WebSignInType.insideApp}) → Future< void> -
logout(
) → Future< bool> - Method for log out
-
mobileAuthWithOtp(
String data) → Future< String?> - Starts mobile authentication on web by OTP.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAuthenticator(
BuildContext? context, String authenticatorId) → Future< void> - Registers authenticator from getNotRegisteredAuthenticators list.
-
registerUser(
BuildContext? context, String? identityProviderId, List< String> ? scopes) → Future<RegistrationResponse> - Start registration flow.
-
setPreferredAuthenticator(
BuildContext? context, String authenticatorId) → Future< bool> - Set preferred authenticator
-
toString(
) → String -
A string representation of this object.
inherited
-
validatePinWithPolicy(
String pin) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited