View Source Boruta.Ecto.Client (Boruta core v2.0.0)

Ecto Adapter Client Schema

Link to this section Summary

Functions

Returns grant types supported by the server. Boruta.Ecto.Client supported grant types attribute may be a subset of them.

Link to this section Types

Specs

t() :: %Boruta.Ecto.Client{
  __meta__: term(),
  access_token_ttl: integer(),
  authorization_code_ttl: integer(),
  authorize_scope: boolean(),
  authorized_scopes: Ecto.Association.NotLoaded.t() | [Boruta.Ecto.Scope.t()],
  id: term(),
  id_token_ttl: integer(),
  inserted_at: term(),
  name: term(),
  pkce: boolean(),
  private_key: [String.t()],
  public_key: [String.t()],
  public_refresh_token: boolean(),
  public_revoke: boolean(),
  redirect_uris: [String.t()],
  refresh_token_ttl: integer(),
  secret: String.t(),
  supported_grant_types: [String.t()],
  updated_at: term()
}

Link to this section Functions

Link to this function

create_changeset(client, attrs)

View Source

Specs

grant_types() :: grant_types :: [String.t()]

Returns grant types supported by the server. Boruta.Ecto.Client supported grant types attribute may be a subset of them.

Link to this function

secret_changeset(client, secret \\ nil)

View Source
Link to this function

update_changeset(client, attrs)

View Source