public class AADJwtAudienceValidator extends Object implements org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
Jwt, that is matches a configured value| Constructor and Description |
|---|
AADJwtAudienceValidator(List<String> audiences)
Constructs a
AADJwtAudienceValidator using the provided parameters |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.core.OAuth2TokenValidatorResult |
validate(org.springframework.security.oauth2.jwt.Jwt token) |
public AADJwtAudienceValidator(List<String> audiences)
AADJwtAudienceValidator using the provided parametersaudiences - - The audience that each Jwt should have.public org.springframework.security.oauth2.core.OAuth2TokenValidatorResult validate(org.springframework.security.oauth2.jwt.Jwt token)
validate in interface org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>Copyright © 2021 Microsoft Corporation. All rights reserved.