Class OpenAuthenticationAccessPolicy
java.lang.Object
com.azure.resourcemanager.appservice.models.OpenAuthenticationAccessPolicy
Open authentication access policy defined by user.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclaims()
Get the claims property: The access policy claims.type()
Get the type property: Type of provider for OAuth.void
validate()
Validates the instance.withClaims
(List<OpenAuthenticationPolicyClaim> claims) Set the claims property: The access policy claims.Set the type property: Type of provider for OAuth.
-
Constructor Details
-
OpenAuthenticationAccessPolicy
public OpenAuthenticationAccessPolicy()
-
-
Method Details
-
type
Get the type property: Type of provider for OAuth.- Returns:
- the type value.
-
withType
Set the type property: Type of provider for OAuth.- Parameters:
type
- the type value to set.- Returns:
- the OpenAuthenticationAccessPolicy object itself.
-
claims
Get the claims property: The access policy claims.- Returns:
- the claims value.
-
withClaims
Set the claims property: The access policy claims.- Parameters:
claims
- the claims value to set.- Returns:
- the OpenAuthenticationAccessPolicy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-