iya-sts
    Preparing search index...

    Variable signJwt

    signJwt: (payload: any, context: any, opts: any) => any = signJwt

    Type Declaration

      • (payload: any, context: any, opts: any): any
      • Signs a token this service issues, RS256 by default, and records it: every OAuth token goes through here.

        Parameters

        • payload: any

          the claims

        • context: any

          facts the payload cannot say, such as the session and the grant, for the token registry; never signed or sent

        • opts: any

          algorithm, header merged into the protected header, and certificateHeader, the use case whose setting decides x5c or x5u

        Returns any

        the compact JWS