iya-sts
    Preparing search index...

    Variable resolve

    resolve: (
        req: any,
        sub: string,
        anchorIds: string[],
        discover: boolean,
    ) => Promise<Outcome> = ...

    Type Declaration

      • (
            req: any,
            sub: string,
            anchorIds: string[],
            discover: boolean,
        ): Promise<Outcome>
      • Resolves an entity to one of the given Trust Anchors (the realm's when none), from the cache while the chain lives, otherwise by walking.

        Parameters

        • req: any

          the request

        • sub: string

          the entity's Entity Identifier

        • anchorIds: string[]

          the Trust Anchors to resolve to

        • discover: boolean

          whether the walk may fetch from other entities

        Returns Promise<Outcome>

        a promise of { ok, resolved, marks, anchor }, or of a refusal in section 8.9's vocabulary