import { GoTrueApi } from "https://deno.land/x/gotrue@3.0.0/src/index.ts";
Constructors
Properties
Methods
Create a temporary object with all configured headers and adds the Authorization token to be used on request methods
Delete a user. Requires a service_role
key.
This function should only be called on a server. Never expose your service_role
key in the browser.
Generates links to be sent via email or other.
Generates the relevant login URL for a third-party provider.
Gets the user details.
Get user by reading the cookie from the request. Works for Next.js & Express (requires cookie-parser middleware).
Sends an invite link to an email address.
Generates a new JWT.
Sends a reset request to an email address.
Sends a magic login link to an email address.
Sends a mobile OTP via SMS. Will register the account if it doesn't already exist
Set/delete the auth cookie based on the AuthChangeEvent. Works for Next.js & Express (requires cookie-parser middleware).
Logs in an existing user using their email address.
Logs in an existing user using their phone number and password.
Removes a logged-in session.
Creates a new user using their email address.
Signs up a new user using their phone number and a password.
Updates the user data.
Send User supplied Mobile OTP to be verified