iya-sts
    Preparing search index...

    Variable buildCredentialFor

    buildCredentialFor: (
        configId: any,
        subjectClaims: any,
        holderJwk: any,
        credentialIssuer: any,
        issuerDid: any,
        holderName: any,
        person?: string,
    ) => Promise<any> = ...

    Type Declaration

      • (
            configId: any,
            subjectClaims: any,
            holderJwk: any,
            credentialIssuer: any,
            issuerDid: any,
            holderName: any,
            person?: string,
        ): Promise<any>
      • Builds one credential in a configuration's format, with a status index allocated for it.

        Parameters

        • configId: any

          the configuration's id

        • subjectClaims: any

          the subject claims

        • holderJwk: any

          the holder's key

        • credentialIssuer: any

          the credential issuer's URL

        • issuerDid: any

          the issuer's DID, or '' for its URL

        • holderName: any

          the holder's username

        • Optionalperson: string

          the subject a verified, undisowned access token named, or ''

        Returns Promise<any>

        { credential, disclosures, payload, ... }