public final class OpenAuthenticationAccessPolicy extends Object
Constructor and Description |
---|
OpenAuthenticationAccessPolicy() |
Modifier and Type | Method and Description |
---|---|
List<OpenAuthenticationPolicyClaim> |
claims()
Get the claims property: The access policy claims.
|
OpenAuthenticationProviderType |
type()
Get the type property: Type of provider for OAuth.
|
void |
validate()
Validates the instance.
|
OpenAuthenticationAccessPolicy |
withClaims(List<OpenAuthenticationPolicyClaim> claims)
Set the claims property: The access policy claims.
|
public OpenAuthenticationProviderType type()
public List<OpenAuthenticationPolicyClaim> claims()
public OpenAuthenticationAccessPolicy withClaims(List<OpenAuthenticationPolicyClaim> claims)
claims
- the claims value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.