Class JWTTokenGenerator

  • All Implemented Interfaces:
    AuthorizationContextTokenGenerator

    public class JWTTokenGenerator
    extends Object
    implements AuthorizationContextTokenGenerator
    This class represents the JSON Web Token generator. By default the following properties are encoded to each authenticated API request: subscriber, applicationName, apiContext, version, tier, and endUserName Additional properties can be encoded by engaging the ClaimsRetrieverImplClass callback-handler. The JWT header and body are base64 encoded separately and concatenated with a dot. Finally the token is signed using SHA256 with RSA algorithm.