public final class AllowedAudiencesValidation extends Object
| Constructor and Description |
|---|
AllowedAudiencesValidation() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allowedAudiences()
Get the allowedAudiences property: The configuration settings of the allowed list of audiences from which to
validate the JWT token.
|
void |
validate()
Validates the instance.
|
AllowedAudiencesValidation |
withAllowedAudiences(List<String> allowedAudiences)
Set the allowedAudiences property: The configuration settings of the allowed list of audiences from which to
validate the JWT token.
|
public List<String> allowedAudiences()
public AllowedAudiencesValidation withAllowedAudiences(List<String> allowedAudiences)
allowedAudiences - the allowedAudiences value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.