Documentation
    Preparing search index...

    Interface DelegationOptions<Schema>

    Delegation

    interface DelegationOptions<Schema extends StandardSchemaV1> {
        aud: DID;
        cmd: string;
        exp?: null | number;
        iss: ISigner;
        meta?: CborObject;
        nbf?: number;
        nonce?: Uint8Array<ArrayBuffer>;
        pol: Policy<InferOutput<Schema>>;
        sub: null | DID;
        ttl?: number;
    }

    Type Parameters

    • Schema extends StandardSchemaV1
    Index

    Properties

    aud: DID
    cmd: string
    exp?: null | number

    Expiration time in seconds or null for no expiration

    iss: ISigner
    meta?: CborObject
    nbf?: number

    Not before time in seconds Delegation is not valid before this time

    nonce?: Uint8Array<ArrayBuffer>
    pol: Policy<InferOutput<Schema>>
    sub: null | DID
    ttl?: number

    Time to live in seconds, expiration thats precedence over ttl

    300