AuthPluginInterface class abstract

Inheritance

Constructors

AuthPluginInterface()

Properties

category Category
The category implemented by this plugin.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamController StreamController<AuthHubEvent>
no setter

Methods

addPlugin() Future<void>
Called when the plugin is added to the category.
inherited
cast<P extends AmplifyPluginInterface>() → P
Casts a plugin to a category-specific implementation.
inherited
configure({AmplifyConfig? config}) Future<void>
Configures the plugin using the registered config.
inherited
confirmResetPassword({required ConfirmResetPasswordRequest request}) Future<UpdatePasswordResult>
confirmSignIn({required ConfirmSignInRequest request}) Future<SignInResult>
confirmSignUp({required ConfirmSignUpRequest request}) Future<SignUpResult>
confirmUserAttribute({required ConfirmUserAttributeRequest request}) Future<ConfirmUserAttributeResult>
deleteUser() Future<void>
Deletes the authenticated AuthUser.
fetchAuthSession({required AuthSessionRequest request}) Future<AuthSession>
fetchDevices() Future<List<AuthDevice>>
Retrieves all tracked devices for the current user.
fetchUserAttributes({FetchUserAttributesRequest? request}) Future<List<AuthUserAttribute>>
forgetDevice([AuthDevice? device]) Future<void>
Forgets device, or the current device, if no parameters are given.
getCurrentUser({AuthUserRequest? request}) Future<AuthUser>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rememberDevice() Future<void>
Remembers the current device.
resendSignUpCode({required ResendSignUpCodeRequest request}) Future<ResendSignUpCodeResult>
resendUserAttributeConfirmationCode({required ResendUserAttributeConfirmationCodeRequest request}) Future<ResendUserAttributeConfirmationCodeResult>
reset() Future<void>
Resets the plugin by removing all traces of it from the device.
inherited
resetPassword({required ResetPasswordRequest request}) Future<ResetPasswordResult>
signIn({required SignInRequest request}) Future<SignInResult>
signInWithWebUI({SignInWithWebUIRequest? request}) Future<SignInResult>
signOut({SignOutRequest? request}) Future<SignOutResult>
signUp({required SignUpRequest request}) Future<SignUpResult>
toString() String
A string representation of this object.
inherited
updatePassword({UpdatePasswordRequest? request}) Future<UpdatePasswordResult>
updateUserAttribute({required UpdateUserAttributeRequest request}) Future<UpdateUserAttributeResult>
updateUserAttributes({required UpdateUserAttributesRequest request}) Future<Map<UserAttributeKey, UpdateUserAttributeResult>>

Operators

operator ==(Object other) bool
The equality operator.
inherited