GoTrueAdminApi class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
mfa
↔ GoTrueAdminMFAApi
-
latefinal
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createUser(AdminUserAttributes attributes)
→ Future<UserResponse>
-
Creates a new user.
-
deleteUser(String id)
→ Future<void>
-
Delete a user. Requires a
service_role
key.
-
generateLink({required GenerateLinkType type, required String email, String? newEmail, String? password, Map<String, dynamic>? data, String? redirectTo})
→ Future<GenerateLinkResponse>
-
Generates links to be sent via email or other.
-
getUserById(String uid)
→ Future<UserResponse>
-
Gets the user by their id.
-
inviteUserByEmail(String email, {String? redirectTo, Map<String, dynamic>? data})
→ Future<UserResponse>
-
Sends an invite link to an email address.
-
listUsers({int? page, int? perPage})
→ Future<List<User>>
-
Get a list of users.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
signOut(String jwt, {SignOutScope scope = SignOutScope.global})
→ Future<void>
-
Removes a logged-in session.
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateUserById(String uid, {required AdminUserAttributes attributes})
→ Future<UserResponse>
-
Updates the user data.