Rivet.Auth.Domain (rivet_ident v3.5.0)

View Source

Structure for in-process authentication result contexts, not directly to one user

Summary

Types

result()

@type result() :: {:ok | :error, t()}

t()

@type t() :: %Rivet.Auth.Domain{
  app: nil | String.t(),
  authz: map(),
  created: boolean(),
  email: nil | Rivet.Ident.Email.t(),
  error: nil | String.t(),
  expires: integer(),
  factor: nil | Rivet.Ident.Factor.t(),
  handle: nil | Rivet.Ident.Handle.t(),
  hostname: nil | String.t(),
  input: nil | map(),
  log: nil | String.t(),
  status: atom(),
  token: nil | map(),
  type: atom(),
  user: nil | Rivet.Ident.User.t()
}