Class JwtFactories.JwtVerifier
java.lang.Object
org.forgerock.opendj.rest2ldap.authz.JwtFactories.JwtVerifier
- Enclosing class:
- JwtFactories
A class used to verify whether a given
SignedJwt
is valid.-
Method Summary
Modifier and TypeMethodDescriptionPromise<org.forgerock.json.jose.jws.SignedJwt,
ResourceException> Verifies the given bearerToken is a validSignedJwt
.
-
Method Details
-
verify
Verifies the given bearerToken is a validSignedJwt
.- Parameters:
bearerToken
- The string representation ofSignedJwt
to check.- Returns:
- a
Promise
of theSignedJwt
if it is valid.
-