Class IDTokenCheckerImpl
- java.lang.Object
-
- io.jenkins.plugins.tuleap_oauth.checks.IDTokenCheckerImpl
-
- All Implemented Interfaces:
IDTokenChecker
public class IDTokenCheckerImpl extends Object implements IDTokenChecker
-
-
Constructor Summary
Constructors Constructor Description IDTokenCheckerImpl(PluginHelper pluginHelper, io.jenkins.plugins.tuleap_api.client.authentication.OpenIDClientApi openIDClientApi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkPayloadAndSignature(com.auth0.jwt.interfaces.DecodedJWT idToken, List<com.auth0.jwk.Jwk> jwks, String tuleapUri, String audience, org.kohsuke.stapler.StaplerRequest request)
-
-
-
Field Detail
-
ALGORITHM
public static final String ALGORITHM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IDTokenCheckerImpl
@Inject public IDTokenCheckerImpl(PluginHelper pluginHelper, io.jenkins.plugins.tuleap_api.client.authentication.OpenIDClientApi openIDClientApi)
-
-
Method Detail
-
checkPayloadAndSignature
public void checkPayloadAndSignature(com.auth0.jwt.interfaces.DecodedJWT idToken, List<com.auth0.jwk.Jwk> jwks, String tuleapUri, String audience, org.kohsuke.stapler.StaplerRequest request) throws com.auth0.jwk.InvalidPublicKeyException
- Specified by:
checkPayloadAndSignature
in interfaceIDTokenChecker
- Throws:
com.auth0.jwk.InvalidPublicKeyException
-
-