public class PingFederateValidator
extends java.lang.Object
implements org.jose4j.jwt.consumer.Validator
| Constructor and Description |
|---|
PingFederateValidator(com.netflix.spectator.api.Registry registry)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
validate(org.jose4j.jwt.consumer.JwtContext jwtContext)
Make sure the JWT has the claims we expect to exist.
|
public PingFederateValidator(com.netflix.spectator.api.Registry registry)
registry - The registry to usepublic java.lang.String validate(org.jose4j.jwt.consumer.JwtContext jwtContext)
throws org.jose4j.jwt.MalformedClaimException
validate in interface org.jose4j.jwt.consumer.ValidatorjwtContext - the JWT contextorg.jose4j.jwt.MalformedClaimException - if a malformed claim is encountered