Interface JWTParser
-
- All Known Implementing Classes:
JjwtJWTParser
public interface JWTParserJWTParser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidparseJWT(Token token, AuthClientConf clientConfig, AuthServerConf serverConfig, java.lang.String strStoredNonce, org.apache.log4j.Logger logger)Extract Json Web Token from the tokenjava.lang.StringparseJWT(java.lang.String strJwt, AuthClientConf clientConfig, AuthServerConf serverConfig, org.apache.log4j.Logger logger)Extract Claims from the jwt
-
-
-
Method Detail
-
parseJWT
void parseJWT(Token token, AuthClientConf clientConfig, AuthServerConf serverConfig, java.lang.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
java.lang.String parseJWT(java.lang.String strJwt, AuthClientConf clientConfig, AuthServerConf serverConfig, org.apache.log4j.Logger logger) throws TokenValidationExceptionExtract Claims from the jwt- Parameters:
strJwt- The jwtclientConfig- The client configurationserverConfig- The server configurationlogger- The logger- Throws:
TokenValidationException- if an error occurs
-
-