Skip to main content

Type Alias: ActorTokenCheck

ActorTokenCheck = { claims: ActorTokenClaims; kid: string; ok: true; signer: ActorTokenSigner; } | { ok: false; problem: ActorTokenProblem; }

Defined in: packages/authz/src/actor-token.ts:120

The outcome of verifyActorToken.

Union Members​

Type Literal​

{ claims: ActorTokenClaims; kid: string; ok: true; signer: ActorTokenSigner; }

claims​

readonly claims: ActorTokenClaims

The verified claims.

kid​

readonly kid: string

The key's kid.

ok​

readonly ok: true

signer​

readonly signer: ActorTokenSigner

The deployment whose key signed it.


Type Literal​

{ ok: false; problem: ActorTokenProblem; }