Supabase.GoTrue.Schemas.SignInWithIdToken (supabase_gotrue v0.4.1)

This schema is used to validate and parse the parameters for signing in with an ID token.

Fields

  • provider - The provider.
  • token - The token.
  • access_token - The access token.
  • nonce - The nonce.
  • options - The options.
    • captcha_token - The captcha token.

Summary

Types

t()

@type t() :: %Supabase.GoTrue.Schemas.SignInWithIdToken{
  access_token: String.t() | nil,
  id: term(),
  nonce: String.t() | nil,
  options:
    %Supabase.GoTrue.Schemas.SignInWithIdToken.Options{
      captcha_token: String.t() | nil
    }
    | nil,
  provider: :google | :apple | :azure | :facebook | :kakao,
  token: String.t()
}

Functions

parse(attrs)

to_sign_in_params(signin)