iya-sts
    Preparing search index...
    atResource: (req: any, res: any, presented: any, where?: string) => boolean = ...

    Type Declaration

      • (req: any, res: any, presented: any, where?: string): boolean
      • Holds a request to the profile at a resource server, after its access token was accepted: verifies a fapi-2-request signature when one is present, refuses an unsigned request where one is required, and arms the response signer. Sends the refusal itself.

        Parameters

        • req: any

          the request

        • res: any

          the response, or a recording stand-in for it

        • presented: any

          what dpop.presentedAccessToken() accepted: claims, scheme

        • Optionalwhere: string

          the endpoint, for the log

        Returns boolean

        true to go on, false once a refusal has been sent