public class IssuerClaimVerifier extends Object implements JwtClaimsSetVerifier
JwtClaimsSetVerifier
that verifies the Issuer (iss) claim contained in the
JWT Claims Set against the issuer
supplied to the constructor.JwtClaimsSetVerifier
Constructor and Description |
---|
IssuerClaimVerifier(URL issuer) |
public IssuerClaimVerifier(URL issuer)
public void verify(Map<String,Object> claims) throws InvalidTokenException
JwtClaimsSetVerifier
verify
in interface JwtClaimsSetVerifier
claims
- the JWT Claims SetInvalidTokenException
- if at least one claim failed verificationCopyright © 2019. All rights reserved.