ArchAstro.SDK.Types.SystemAccessToken (archastro v0.3.3)

Copy Markdown

A long-lived API credential associated with a system account, used to authenticate server-to-server requests.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.SystemAccessToken{
  created_at: DateTime.t() | ArchAstro.SDK.Unset.t(),
  created_by_agent_user: String.t() | nil | ArchAstro.SDK.Unset.t(),
  created_by_developer: String.t() | nil | ArchAstro.SDK.Unset.t(),
  created_by_org: String.t() | nil | ArchAstro.SDK.Unset.t(),
  created_by_team: String.t() | nil | ArchAstro.SDK.Unset.t(),
  created_by_user: String.t() | nil | ArchAstro.SDK.Unset.t(),
  expires_at: DateTime.t() | nil | ArchAstro.SDK.Unset.t(),
  id: String.t(),
  last_used_at: DateTime.t() | nil | ArchAstro.SDK.Unset.t(),
  name: String.t() | nil | ArchAstro.SDK.Unset.t(),
  revoked_at: DateTime.t() | nil | ArchAstro.SDK.Unset.t(),
  scopes: String.t() | nil | ArchAstro.SDK.Unset.t(),
  token: String.t() | ArchAstro.SDK.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.SDK.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.SDK.JSON.object()