PtcRunner.Kernel.MCPOAuth.PendingAuthorization (PtcRunner v0.14.0)

Copy Markdown View Source

Opaque handle for one explicit authorization interaction.

url is intentionally accessible so a trusted UI can present it exactly once. The custom Inspect implementation never renders the URL, state, principal identity, redirect, or authority.

Summary

Types

t()

@type t() :: %PtcRunner.Kernel.MCPOAuth.PendingAuthorization{
  authority: PtcRunner.Kernel.MCPOAuth.Authority.t(),
  deadline_ms: integer(),
  flow_id: term(),
  key: PtcRunner.Kernel.MCPOAuth.GrantKey.t(),
  redirect_uri: binary(),
  store: PtcRunner.Kernel.MCPOAuth.Store.t(),
  url: binary()
}