Supabase.GoTrue.Schemas.SignInWithSSO behaviour (supabase_gotrue v0.3.10)

This schema is used to validate and parse the parameters for signing in with SSO.

Fields

  • provider_id - The provider ID.
  • domain - The domain.
  • options - The options.
    • redirect_to - The redirect URL.
    • captcha_token - The captcha token.

Summary

Types

@opaque changeset()
@type options() :: %Supabase.GoTrue.Schemas.SignInWithSSO.Options{
  captcha_token: String.t(),
  redirect_to: String.t()
}
@type t() :: %Supabase.GoTrue.Schemas.SignInWithSSO{
  domain: String.t(),
  id: term(),
  options: options(),
  provider_id: String.t()
}

Callbacks

Link to this callback

changeset(t, map)

(optional)
@callback changeset(t(), map()) :: changeset()
Link to this callback

parse(map)

(optional)
@callback parse(map()) :: {:ok, t()} | {:error, changeset()}

Functions

Link to this function

to_sign_in_params(signin)

Link to this function

to_sign_in_params(signin, code_challenge, code_method)