Class MitreJWTParser
- java.lang.Object
-
- fr.paris.lutece.plugins.oauth2.jwt.MitreJWTParser
-
-
Constructor Summary
Constructors Constructor Description MitreJWTParser()
-
Method Summary
All Methods Instance Methods Concrete 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
public 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- Specified by:
parseJWTin interfaceJWTParser- Parameters:
token- The tokenclientConfig- The client configurationserverConfig- The server configurationstrStoredNonce- The stored noncelogger- The logger- Throws:
TokenValidationException- if an error occurs
-
parseJWT
public java.lang.String parseJWT(java.lang.String strJwt, AuthClientConf clientConfig, AuthServerConf serverConfig, org.apache.log4j.Logger logger) throws TokenValidationExceptionDescription copied from interface:JWTParserExtract Claims from the jwt- Specified by:
parseJWTin interfaceJWTParser- Parameters:
strJwt- The jwtclientConfig- The client configurationserverConfig- The server configurationlogger- The logger- Throws:
TokenValidationException- if an error occurs
-
-