BetterAuthClient class abstract
- Available extensions
- Annotations
-
- @RestApi(callAdapter: BetterAuthCallAdapter)
Constructors
- BetterAuthClient.new(Dio dio, {String? baseUrl, ParseErrorLogger? errorLogger})
-
factory
Properties
- admin → AdminBetterAuth
-
Available on BetterAuthClient, provided by the AdminBetterAuthExtension extension
no setter - emailOtp → EmailOtpBetterAuth
-
Available on BetterAuthClient, provided by the EmailAuthBetterAuthExtension extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- jwt → JwtBetterAuth
-
Available on BetterAuthClient, provided by the JwtBetterAuthExtension extension
no setter - phone → PhoneBetterAuth
-
Available on BetterAuthClient, provided by the PhoneBetterAuthExtension extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signIn → SignInBetterAuth
-
Available on BetterAuthClient, provided by the SignInBetterAuthExtension extension
no setter - signUp → SignUpBetterAuth
-
Available on BetterAuthClient, provided by the SignUpBetterAuthExtension extension
no setter -
Available on BetterAuthClient, provided by the SocialBetterAuthExtension extension
no setter
Methods
-
changeEmail(
{required String newEmail, String? callbackURL}) → Future< Result< StatusResponse> > -
changePassword(
{required String newPassword, required String currentPassword, String? revokeOtherSessions}) → Future< Result< SignUpResponse> > -
deleteUser(
{String? callbackURL, String? password, String? token}) → Future< Result< SuccessResponse> > -
forgotPassword(
{required String email, String? redirectTo}) → Future< Result< StatusResponse> > -
getSession(
) → Future< Result< SessionResponse> > -
listSessions(
) → Future< Result< List< >Session> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetPassword(
{required String newPassword, String? token}) → Future< Result< StatusResponse> > -
revokeOtherSessions(
{Map< String, dynamic> body = const {}}) → Future<Result< StatusResponse> > -
revokeSession(
{Map< String, dynamic> body = const {}}) → Future<Result< StatusResponse> > -
revokeSessions(
{Map< String, dynamic> body = const {}}) → Future<Result< StatusResponse> > -
sendVerificationEmail(
{required String email, String? callbackURL}) → Future< Result< StatusResponse> > -
signOut(
{Map< String, dynamic> body = const {}}) → Future<Result< SignOutResponse> > -
toString(
) → String -
A string representation of this object.
inherited
-
updateUser(
{String? name, String? image}) → Future< Result< StatusResponse> > -
verifyEmail(
{required String token, String? callbackURL}) → Future< Result< VerifyEmailResponse> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited