EndpointLegacyEmail class Endpoint
Proxy endpoint that handles legacy email authentication requests from old clients (pre-migration). Delegates to the new auth system internally.
- Inheritance
-
- Object
- EndpointRef
- EndpointLegacyEmail
Constructors
- EndpointLegacyEmail(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
Methods
-
authenticate(
String email, String password) → Future< LegacyAuthenticationResponse> - Authenticates a user with email and password, returning a legacy-format response with session key and user info.
-
changePassword(
String oldPassword, String newPassword) → Future< bool> - Stub - password change is not supported via legacy endpoints.
-
createAccount(
String email, String verificationCode) → Future< LegacyUserInfo?> - Stub - account creation is not supported via legacy endpoints.
-
createAccountRequest(
String userName, String email, String password) → Future< bool> - Stub - registration is not supported via legacy endpoints.
-
initiatePasswordReset(
String email) → Future< bool> - Stub - password reset initiation is not supported via legacy endpoints.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetPassword(
String verificationCode, String password) → Future< bool> - Stub - password reset is not supported via legacy endpoints.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited