Sake.Auth.TokenRecord (Sake v0.1.0)

Copy Markdown View Source

An access or refresh token (stored hashed). family_id groups the tokens born from one authorization code.

Summary

Types

t()

@type t() :: %Sake.Auth.TokenRecord{
  client_id: term(),
  expires_at: term(),
  family_id: term(),
  hash: term(),
  id: term(),
  inserted_at: term(),
  kind: term(),
  resource: term(),
  revoked_at: term(),
  scopes: term(),
  subject_id: term(),
  used_at: term()
}