Account class

Inheritance

Constructors

Account(Client client)

Properties

client Client
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create({required String email, required String password, String? name}) Future<Response>
Create Account
createAnonymousSession() Future<Response>
Create Anonymous Session
createJWT() Future<Response>
Create Account JWT
createOAuth2Session({required String provider, String? success, String? failure, List? scopes}) Future
Create Account Session with OAuth2
createRecovery({required String email, required String url}) Future<Response>
Create Password Recovery
createSession({required String email, required String password}) Future<Response>
Create Account Session
createVerification({required String url}) Future<Response>
Create Email Verification
delete() Future<Response>
Delete Account
deleteSession({required String sessionId}) Future<Response>
Delete Account Session
deleteSessions() Future<Response>
Delete All Account Sessions
get() Future<Response>
Get Account
getLogs() Future<Response>
Get Account Logs
getPrefs() Future<Response>
Get Account Preferences
getSessions() Future<Response>
Get Account Sessions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateEmail({required String email, required String password}) Future<Response>
Update Account Email
updateName({required String name}) Future<Response>
Update Account Name
updatePassword({required String password, String? oldPassword}) Future<Response>
Update Account Password
updatePrefs({required Map prefs}) Future<Response>
Update Account Preferences
updateRecovery({required String userId, required String secret, required String password, required String passwordAgain}) Future<Response>
Complete Password Recovery
updateVerification({required String userId, required String secret}) Future<Response>
Complete Email Verification

Operators

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