iya-sts
    Preparing search index...

    Variable subjectClaimsFor

    subjectClaimsFor: (
        name: unknown,
        tokenClaims?: any,
        rows?: CatalogueRow[],
    ) => { claims: {}; entryFound: boolean; report: any[] } = ...

    Type Declaration

      • (
            name: unknown,
            tokenClaims?: any,
            rows?: CatalogueRow[],
        ): { claims: {}; entryFound: boolean; report: any[] }
      • Builds the subject claims for one person as the credential builders want them — nested, with no sub — and a flat report of where each came from.

        Parameters

        • name: unknown

          the username

        • OptionaltokenClaims: any

          the access token's claims

        • Optionalrows: CatalogueRow[]

          the selected rows to build, or all of them

        Returns { claims: {}; entryFound: boolean; report: any[] }

        { claims, report, entryFound }