Class JsonSecurityToken


  • public class JsonSecurityToken
    extends SecurityToken
    Extend SecurityToken with some specifics for a JSon Web Token
    • Constructor Detail

      • JsonSecurityToken

        public JsonSecurityToken​(String rawToken,
                                 String audience)
                          throws ParseException
        Construct from a raw JWT.
        Parameters:
        rawToken - the JWT token data
        audience - audience of the token
        Throws:
        ParseException - if the token cannot be parsed