Lockspire.Host.Context (lockspire v1.0.0)

Copy Markdown

Contextual information passed to host integration callbacks.

Summary

Types

interaction_type()

@type interaction_type() ::
  :login | :consent | :logout | :refresh | :exchange | :userinfo | term()

t()

@type t() :: %Lockspire.Host.Context{
  client_id: String.t() | nil,
  interaction_id: String.t() | nil,
  interaction_type: interaction_type() | nil,
  metadata: map(),
  resources: [String.t()] | nil,
  return_to: String.t() | nil,
  scopes: [String.t()] | nil,
  tenant_id: String.t() | nil
}