iya-sts
    Preparing search index...

    Variable resolveResponse

    resolveResponse: (
        req: any,
        sub: string,
        anchorIds: string[],
        entityTypes: string[],
    ) => Promise<Outcome> = ...

    Type Declaration

      • (
            req: any,
            sub: string,
            anchorIds: string[],
            entityTypes: string[],
        ): Promise<Outcome>
      • Builds the signed resolve response (8.3.2).

        Parameters

        • req: any

          the request

        • sub: string

          the entity's Entity Identifier

        • anchorIds: string[]

          the Trust Anchors to resolve to

        • entityTypes: string[]

          the entity types to keep in the metadata

        Returns Promise<Outcome>

        a promise of { ok, jwt, claims }, or of a refusal