iya-sts
    Preparing search index...
    apply: (target: any, input: DidClaimInput, where: string) => DidClaimDecision = ...

    Type Declaration

      • (target: any, input: DidClaimInput, where: string): DidClaimDecision
      • Applies the decision to a token being built: removes a did any other layer put there, then sets the claim when every condition holds.

        Parameters

        • target: any

          the ID Token's payload or the UserInfo body, changed in place

        • input: DidClaimInput

          { username, clientId, scope }

        • where: string

          ID Token or UserInfo response, for the log

        Returns DidClaimDecision

        the decision