Class ConfigurableJwtTokenValidator
java.lang.Object
no.nav.security.token.support.core.validation.ConfigurableJwtTokenValidator
- All Implemented Interfaces:
JwtTokenValidator
@Deprecated(since="3.1.3",
forRemoval=true)
public class ConfigurableJwtTokenValidator
extends Object
implements JwtTokenValidator
Deprecated, for removal: This API element is subject to removal in a future version.
Configurable JwtTokenValidator. Allows for optional claims, does not validate audience.
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurableJwtTokenValidator(String issuer, List<String> optionalClaims, com.nimbusds.jose.jwk.source.RemoteJWKSet<com.nimbusds.jose.proc.SecurityContext> remoteJWKSet) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidassertValidToken(String tokenString) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
Method Details
-
assertValidToken
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
assertValidTokenin interfaceJwtTokenValidator- Throws:
JwtTokenValidatorException
-
Use
DefaultConfigurableJwtValidatorinstead.