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