iya-sts
    Preparing search index...

    Variable signJwtAsAsync

    signJwtAsAsync: (payload: any, alg: any, secret: any, opts: any) => any = signJwtAsAsync

    Type Declaration

      • (payload: any, alg: any, secret: any, opts: any): any
      • The same signature as signJwtAs(), made on libuv's thread pool where the algorithm is post-quantum; anything else resolves with the value computed here.

        Parameters

        • payload: any

          the claims

        • alg: any

          the JWS algorithm

        • secret: any

          the client secret, for HS*

        • opts: any

          as signJwtAs()

        Returns any

        a promise of the compact JWS