OpenAuthenticationAccessPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. OpenAuthenticationAccessPolicy
- com.
Implements
public final class OpenAuthenticationAccessPolicy
implements JsonSerializable<OpenAuthenticationAccessPolicy>
Open authentication access policy defined by user.
Constructor Summary
Constructor | Description |
---|---|
OpenAuthenticationAccessPolicy() |
Creates an instance of Open |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Open |
claims()
Get the claims property: The access policy claims. |
static
Open |
fromJson(JsonReader jsonReader)
Reads an instance of Open |
Json |
toJson(JsonWriter jsonWriter) |
Open |
type()
Get the type property: Type of provider for OAuth. |
void |
validate()
Validates the instance. |
Open |
withClaims(List<OpenAuthenticationPolicyClaim> claims)
Set the claims property: The access policy claims. |
Open |
withType(OpenAuthenticationProviderType type)
Set the type property: Type of provider for OAuth. |
Methods inherited from java.lang.Object
Constructor Details
OpenAuthenticationAccessPolicy
public OpenAuthenticationAccessPolicy()
Creates an instance of OpenAuthenticationAccessPolicy class.
Method Details
claims
public List
Get the claims property: The access policy claims.
Returns:
fromJson
public static OpenAuthenticationAccessPolicy fromJson(JsonReader jsonReader)
Reads an instance of OpenAuthenticationAccessPolicy from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public OpenAuthenticationProviderType type()
Get the type property: Type of provider for OAuth.
Returns:
validate
public void validate()
Validates the instance.
withClaims
public OpenAuthenticationAccessPolicy withClaims(List
Set the claims property: The access policy claims.
Parameters:
Returns:
withType
public OpenAuthenticationAccessPolicy withType(OpenAuthenticationProviderType type)
Set the type property: Type of provider for OAuth.
Parameters:
Returns:
Applies to
Azure SDK for Java