Sake.Auth.Config (Sake v0.1.0)

Copy Markdown View Source

The authorization configuration given to {Sake, auth: [...]}.

Summary

Functions

All scopes the configured servers declare, with descriptions.

Types

t()

@type t() :: %Sake.Auth.Config{
  access_token_ttl: term(),
  allow_insecure: term(),
  cimd: term(),
  consent: term(),
  dcr: term(),
  issuer: term(),
  name: term(),
  oauth_path: term(),
  refresh_token_ttl: term(),
  remember_consent: term(),
  resources: term(),
  servers: term(),
  store: term(),
  store_state: term(),
  subject: term()
}

Functions

authorize_url(c)

new(opts)

@spec new(keyword()) :: t()

register_url(c)

revoke_url(c)

scopes(config)

@spec scopes(t()) :: [{String.t(), String.t()}]

All scopes the configured servers declare, with descriptions.

token_url(c)