iya-sts
    Preparing search index...
    decide: (input: DidClaimInput) => DidClaimDecision = ...

    Type Declaration

      • (input: DidClaimInput): DidClaimDecision
      • Decides whether a token for this person and client carries the claim, and why not when it does not.

        Parameters

        • input: DidClaimInput

          { username, clientId, scope }: the scope as granted

        Returns DidClaimDecision

        { did, code, why }; did is '' when the claim is left out