GoTrue (gotrue v0.1.1) View Source
Elixir wrapper for GoTrue Authentication Service.
Link to this section Summary
Functions
Get user info using a valid JWT
Invite a new user to join
Send a password recovery email
Refresh access token using a valid refresh token
Send a magic link (passwordless login)
Get environment settings for the GoTrue server
Sign in with email and password
Sign out user using a valid JWT
Sign up a new user with email and password
Update user info using a valid JWT
Generate a URL for authorizing with an OAUTH2 provider
Link to this section Types
Specs
option() ::
{:method, Tesla.Env.method()}
| {:url, Tesla.Env.url()}
| {:query, Tesla.Env.query()}
| {:headers, Tesla.Env.headers()}
| {:body, Tesla.Env.body()}
| {:opts, Tesla.Env.opts()}
Link to this section Functions
Specs
Get user info using a valid JWT
Specs
Invite a new user to join
Specs
Send a password recovery email
Specs
Refresh access token using a valid refresh token
Specs
Send a magic link (passwordless login)
Specs
settings() :: map()
Get environment settings for the GoTrue server
Specs
Sign in with email and password
Specs
Sign out user using a valid JWT
Specs
sign_up(%{
email: String.t(),
password: String.t(),
data: map(),
audience: String.t(),
provider: String.t()
}) :: map()
Sign up a new user with email and password
Specs
Update user info using a valid JWT
Specs
Generate a URL for authorizing with an OAUTH2 provider