EndpointEmail class Endpoint

Endpoint for handling Sign in with Google.

Inheritance

Constructors

EndpointEmail(EndpointCaller caller)

Properties

caller EndpointCaller
Holds a reference to the caller class.
finalinherited
client ServerpodClientShared
Reference to the client.
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the endpoint this reference is connected to.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<SerializableEntity>
Stream of messages sent from an endpoint that supports streaming.
no setterinherited

Methods

authenticate(String email, String password) Future<AuthenticationResponse>
Authenticates a user with email and password. Returns an AuthenticationResponse with the users information.
changePassword(String oldPassword, String newPassword) Future<bool>
Changes a users password.
createAccount(String email, String verificationCode) Future<UserInfo?>
Creates a new account using a verification code.
createAccountRequest(String userName, String email, String password) Future<bool>
Starts the procedure for creating an account by sending an email with a verification code.
initiatePasswordReset(String email) Future<bool>
Initiates a password reset and sends an email with the reset code to the user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetPassword(String verificationCode, String password) Future<bool>
Resets a users password using the reset code.
resetStream() → void
Resets web socket stream, so it's possible to re-listen to endpoint streams.
inherited
sendStreamMessage(SerializableEntity message) Future<void>
Sends a message to the endpoint's stream.
inherited
toString() String
A string representation of this object.
inherited
verifyEmailPasswordReset(String verificationCode) Future<EmailPasswordReset?>
Verifies a password reset code, if successful returns an EmailPasswordReset object, otherwise returns null.

Operators

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