iya-sts
    Preparing search index...

    Variable allocate

    allocate: (
        opts: {
            base: string;
            configId: string;
            expiresAt: number;
            format: string;
        },
    ) => Promise<any> = ...

    Type Declaration

      • (
            opts: {
                base: string;
                configId: string;
                expiresAt: number;
                format: string;
            },
        ): Promise<any>
      • Allocates an index for a credential about to be built, claimed across the cluster, and returns what the credential carries.

        Parameters

        • opts: { base: string; configId: string; expiresAt: number; format: string }

          { base, format, configId, expiresAt }

        Returns Promise<any>

        { key, status, credentialStatus, ... }: the Token Status List reference for a JOSE format, the Bitstring entries for a W3C one