DescopePassword class abstract

Authenticate users using a password.

Constructors

DescopePassword()

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

getPolicy() Future<PasswordPolicy>
Fetches the rules for valid passwords.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace({required String loginId, required String oldPassword, required String newPassword}) Future<AuthenticationResponse>
Replaces a user's password by providing their current password.
sendReset({required String loginId, String? redirectUrl}) Future<void>
Sends a password reset email to the user.
signIn({required String loginId, required String password}) Future<AuthenticationResponse>
Authenticates an existing user using a password.
signUp({required String loginId, required String password, SignUpDetails? details}) Future<AuthenticationResponse>
Creates a new user that can later sign in with a password.
toString() String
A string representation of this object.
inherited
update({required String loginId, required String newPassword, required String refreshJwt}) Future<void>
Updates a user's password.

Operators

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