GoTrueAdminApi
§Constructors
§Properties
Creates a new OAuth client. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
This function should only be called on a server. Never expose your service_role
key in the browser.
Deletes an OAuth client. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
This function should only be called on a server. Never expose your service_role
key in the browser.
Gets details of a specific OAuth client. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
This function should only be called on a server. Never expose your service_role
key in the browser.
Lists all OAuth clients with optional pagination. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
This function should only be called on a server. Never expose your service_role
key in the browser.
Regenerates the secret for an OAuth client. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
This function should only be called on a server. Never expose your service_role
key in the browser.
Contains all MFA administration methods.
Contains all OAuth client administration methods. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
§Methods
Creates a new user.
This function should only be called on a server. Never expose your service_role
key in the browser.
Delete a user. Requires a service_role
key.
The user id you want to remove.
If true, then the user will be soft-deleted from the auth schema. Soft deletion allows user identification from the hashed user ID but is not reversible. Defaults to false for backward compatibility.
This function should only be called on a server. Never expose your service_role
key in the browser.
Generates email links and OTPs to be sent via a custom email provider.
The user's email.
User password. For signup only.
Optional user metadata. For signup only.
The redirect url which should be appended to the generated link
Get user by id.
The user's unique identifier
This function should only be called on a server. Never expose your service_role
key in the browser.
Sends an invite link to an email address.
The email address of the user.
Additional options to be included when inviting.
Get a list of users.
This function should only be called on a server. Never expose your service_role
key in the browser.
An object which supports page
and perPage
as numbers, to alter the paginated results.