Interface JWTParser
- All Known Implementing Classes:
JjwtJWTParser
public interface JWTParser
JWTParser
-
Method Summary
Modifier and TypeMethodDescriptionvoidparseJWT(Token token, AuthClientConf clientConfig, AuthServerConf serverConfig, String strStoredNonce, org.apache.log4j.Logger logger) Extract Json Web Token from the tokenparseJWT(String strJwt, AuthClientConf clientConfig, AuthServerConf serverConfig, org.apache.log4j.Logger logger) Extract Claims from the jwt
-
Method Details
-
parseJWT
void parseJWT(Token token, AuthClientConf clientConfig, AuthServerConf serverConfig, String strStoredNonce, org.apache.log4j.Logger logger) throws TokenValidationException Extract Json Web Token from the token- Parameters:
token- The tokenclientConfig- The client configurationserverConfig- The server configurationstrStoredNonce- The stored noncelogger- The logger- Throws:
TokenValidationException- if an error occurs
-
parseJWT
String parseJWT(String strJwt, AuthClientConf clientConfig, AuthServerConf serverConfig, org.apache.log4j.Logger logger) throws TokenValidationException Extract Claims from the jwt- Parameters:
strJwt- The jwtclientConfig- The client configurationserverConfig- The server configurationlogger- The logger- Throws:
TokenValidationException- if an error occurs
-