Interface Authenticator

    • Method Detail

      • parse

        io.jsonwebtoken.Claims parse​(String token)
        Parse a token into a set of claims.
        Parameters:
        token - the token
        Returns:
        JWT claims
      • authenticate

        default Principal authenticate​(String token)
        Authenticate credentials.
        Parameters:
        token - the token
        Returns:
        the principal if present