public class DefaultClaimsSetVerifier extends Object implements org.springframework.security.oauth2.provider.token.store.JwtClaimsSetVerifier
Verifies the JWT token being utilized at the resource tier (during the JWT decode) contains the claims issued from the authorization service.
Since we are in the authorization service, the claims that are validated here correspond directly
to the claims added from TokenEnhancers
.
Constructor and Description |
---|
DefaultClaimsSetVerifier(List<String> validIssuers,
List<String> validAudiences) |
public void verify(Map<String,Object> claims) throws org.springframework.security.oauth2.common.exceptions.InvalidTokenException
verify
in interface org.springframework.security.oauth2.provider.token.store.JwtClaimsSetVerifier
org.springframework.security.oauth2.common.exceptions.InvalidTokenException
Copyright © 2021. All rights reserved.