ExMCP.Authorization.CredentialStore.Token (ex_mcp v1.0.0-rc.8)

Copy Markdown View Source

OAuth tokens together with their complete, non-secret authorization binding.

Access and refresh tokens are redacted by Inspect.

Summary

Types

t()

@type t() :: %ExMCP.Authorization.CredentialStore.Token{
  access_token: String.t(),
  audience: String.t() | [String.t()] | nil,
  client_id: String.t(),
  client_identity: String.t() | nil,
  expires_at: integer() | nil,
  granted_scopes: [String.t()],
  issuer: String.t(),
  refresh_token: String.t() | nil,
  resource: String.t() | [String.t()] | nil,
  subject: String.t() | nil,
  token_type: String.t()
}