Boruta.Ecto.Token (Boruta core v1.2.0) View Source

Ecto Adapter Token Schema

Link to this section Summary

Link to this section Types

Specs

t() :: %Boruta.Ecto.Token{
  __meta__: term(),
  access_token_ttl: term(),
  authorization_code_ttl: term(),
  client: Boruta.Ecto.Client.t(),
  client_id: term(),
  code_challenge: term(),
  code_challenge_hash: term(),
  code_challenge_method: term(),
  expires_at: integer(),
  id: term(),
  inserted_at: term(),
  redirect_uri: String.t(),
  refresh_token: term(),
  revoked_at: DateTime.t(),
  scope: String.t(),
  state: String.t(),
  sub: String.t(),
  type: String.t(),
  updated_at: term(),
  value: String.t()
}

Link to this section Functions

Link to this function

changeset_with_refresh_token(token, attrs)

View Source
Link to this function

code_changeset(token, attrs)

View Source
Link to this function

pkce_code_changeset(token, attrs)

View Source