Latch.Config (latch v0.1.0)

Copy Markdown

The configuration that drives the client.

Fields

  • :store - a module implementing Latch.Store
  • :client_id - the URL of the published client metadata document
  • :redirect_uri - the OAuth callback URL
  • :scope - the requsted scopes
  • :signing_key - the ES256 JOSE.JWK private key for private_key_jwt as string
  • :client_name - shown on the authorization consent screen
  • :client_uri - client home page
  • :name - the name of the Latch instance

Summary

Types

t()

@type t() :: %Latch.Config{
  client_id: String.t(),
  client_name: String.t() | nil,
  client_uri: String.t() | nil,
  name: atom() | pid(),
  redirect_uri: String.t(),
  request_ttl: pos_integer(),
  scope: String.t(),
  signing_key: String.t(),
  store: module()
}