Documentation
    Preparing search index...

    Interface DelegationPayload<Args>

    interface DelegationPayload<Args = unknown> {
        aud: DID;
        cmd: string;
        exp: null | number;
        iss: DIDURL;
        meta?: Record<string, unknown>;
        nbf?: number;
        nonce: Uint8Array<ArrayBuffer>;
        pol: Policy<Args>;
        sub: null | DID;
    }

    Type Parameters

    • Args = unknown

    Hierarchy (View Summary)

    Index

    Properties

    aud: DID

    Audience DID (receiver)

    cmd: string

    The Command to eventually invoke

    exp: null | number

    Expiration UTC Unix Timestamp in seconds (valid until)

    iss: DIDURL

    Issuer DID (sender)

    meta?: Record<string, unknown>

    Meta (asserted, signed data) — is not delegated authority

    nbf?: number

    "Not before" UTC Unix Timestamp in seconds (valid from)

    nonce: Uint8Array<ArrayBuffer>

    The nonce of the UCAN

    pol: Policy<Args>
    sub: null | DID

    Subject can be null here for Powerline