iya-sts
    Preparing search index...
    seal: (jws: string, keySet?: any, choice?: Choice) => string = ...

    Type Declaration

      • (jws: string, keySet?: any, choice?: Choice): string
      • Encrypts a signed refresh token to the ambient realm.

        Parameters

        • jws: string

          the signed refresh token

        • OptionalkeySet: any

          the realm's key set, where the caller already has it

        • Optionalchoice: Choice

          the algorithm pair to use instead of the configured one

        Returns string

        the compact JWE

        an Error marked STS-OAUTH-0240 when the token cannot be sealed