Noizu.MCP.Auth.Server.Store.AccessToken (Noizu MCP v0.1.6)

Copy Markdown View Source

An issued access token, tracked only when track_access_tokens: true. jti is raw on the way in; the adapter stores its hash. Tracking buys immediate revocation; not tracking means a token is good until it expires, which is why the TTL ceiling is 15 minutes.

Summary

Types

t()

@type t() :: %Noizu.MCP.Auth.Server.Store.AccessToken{
  client_id: String.t(),
  expires_at: DateTime.t(),
  family_id: String.t() | nil,
  jti: String.t(),
  resource: String.t() | nil,
  revoked_at: DateTime.t() | nil,
  scope: [String.t()],
  subject: String.t()
}