Class AllowedAudiencesValidation
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.AllowedAudiencesValidation
-
public final class AllowedAudiencesValidation extends Object
The configuration settings of the Allowed Audiences validation flow.
-
-
Constructor Summary
Constructors Constructor Description AllowedAudiencesValidation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
allowedAudiences
public List<String> allowedAudiences()
Get the allowedAudiences property: The configuration settings of the allowed list of audiences from which to validate the JWT token.- Returns:
- the allowedAudiences value.
-
withAllowedAudiences
public 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.- Parameters:
allowedAudiences
- the allowedAudiences value to set.- Returns:
- the AllowedAudiencesValidation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-