Class JwtAuthenticator

    • Constructor Detail

      • JwtAuthenticator

        public JwtAuthenticator​(Key key)
        Create a JWT-based authenticator.
        Parameters:
        key - a key
    • Method Detail

      • parse

        public io.jsonwebtoken.Claims parse​(String token)
        Description copied from interface: Authenticator
        Parse a token into a set of claims.
        Specified by:
        parse in interface Authenticator
        Parameters:
        token - the token
        Returns:
        JWT claims