AllowedAudiencesValidation Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.AllowedAudiencesValidation

Implements

public final class AllowedAudiencesValidation
implements JsonSerializable<AllowedAudiencesValidation>

The configuration settings of the Allowed Audiences validation flow.

Constructor Summary

Constructor Description
AllowedAudiencesValidation()

Creates an instance of AllowedAudiencesValidation class.

Method Summary

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.

static AllowedAudiencesValidation fromJson(JsonReader jsonReader)

Reads an instance of AllowedAudiencesValidation from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

AllowedAudiencesValidation

public AllowedAudiencesValidation()

Creates an instance of AllowedAudiencesValidation class.

Method Details

allowedAudiences

public List 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.

fromJson

public static AllowedAudiencesValidation fromJson(JsonReader jsonReader)

Reads an instance of AllowedAudiencesValidation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AllowedAudiencesValidation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AllowedAudiencesValidation.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAllowedAudiences

public AllowedAudiencesValidation withAllowedAudiences(List 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.

Applies to