Utility types

Hierarchy

  • UCANBasicOptions

Properties

audience?: Principal<`did:${string}:${string}`>

Audience Principal (DID), Defaults to "Access service DID"

See

Spec

expiration?: number

Unix timestamp when the UCAN is no longer valid

Expiration overrides lifetimeInSeconds

See

Spec

facts?: Fact[]

Facts, an array of extra facts or information to attach to the UCAN

See

Spec

lifetimeInSeconds?: number

UCAN lifetime in seconds

nonce?: string

Nonce, a randomly generated string, used to ensure the uniqueness of the UCAN.

See

Spec

notBefore?: number

Unix timestamp when the UCAN becomas valid

See

Spec

Generated using TypeDoc