AmplifyAuthCognitoMethodChannel class

An implementation of AmplifyAuthCognito that uses method channels.

Inheritance

Properties

category → Category
The category implemented by this plugin.
no setterinherited
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.
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({ConfirmResetPasswordRequest? request}) Future<UpdatePasswordResult>
confirmSignIn({ConfirmSignInRequest? request}) Future<SignInResult>
confirmSignUp({required ConfirmSignUpRequest request}) Future<SignUpResult>
confirmUserAttribute({ConfirmUserAttributeRequest? request}) Future<ConfirmUserAttributeResult>
deleteUser() Future<void>
Deletes the authenticated AuthUser.
fetchAuthSession({AuthSessionRequest? request}) Future<AuthSession>
fetchDevices() Future<List<CognitoDevice>>
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.
formatFetchAttributesResponse(List<Map> attributeResponse) List<AuthUserAttribute>
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({ResendUserAttributeConfirmationCodeRequest? request}) Future<ResendUserAttributeConfirmationCodeResult>
reset() Future<void>
Resets the plugin by removing all traces of it from the device.
inherited
resetPassword({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({UpdateUserAttributeRequest? request}) Future<UpdateUserAttributeResult>
updateUserAttributes({required UpdateUserAttributesRequest request}) Future<Map<UserAttributeKey, UpdateUserAttributeResult>>

Operators

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