Class JwtFactories.JwtVerifier

java.lang.Object
org.forgerock.opendj.rest2ldap.authz.JwtFactories.JwtVerifier
Enclosing class:
JwtFactories

public static final class JwtFactories.JwtVerifier extends Object
A class used to verify whether a given SignedJwt is valid.
  • Method Details

    • verify

      public Promise<org.forgerock.json.jose.jws.SignedJwt,ResourceException> verify(String bearerToken)
      Verifies the given bearerToken is a valid SignedJwt.
      Parameters:
      bearerToken - The string representation of SignedJwt to check.
      Returns:
      a Promise of the SignedJwt if it is valid.