Class DefaultJwtTokenValidator

java.lang.Object
no.nav.security.token.support.core.validation.DefaultJwtTokenValidator
All Implemented Interfaces:
JwtTokenValidator

@Deprecated(since="3.1.3", forRemoval=true) public class DefaultJwtTokenValidator extends Object implements JwtTokenValidator
Deprecated, for removal: This API element is subject to removal in a future version.
"Default" JwtTokenValidator. JWT must have claims that fulfill the OpenID Connect id_token requirements.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultJwtTokenValidator(String issuer, List<String> acceptedAudience, 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 Type
    Method
    Description
    void
    assertValidToken(String tokenString)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    assertValidToken(String tokenString, String expectedNonce)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected com.nimbusds.openid.connect.sdk.validators.IDTokenValidator
    createValidator(String issuer, String clientId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected com.nimbusds.openid.connect.sdk.validators.IDTokenValidator
    get(com.nimbusds.jwt.JWT jwt)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultJwtTokenValidator

      public DefaultJwtTokenValidator(String issuer, List<String> acceptedAudience, 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 Details