public final class OpenAuthenticationPolicyClaim extends Object
Constructor and Description |
---|
OpenAuthenticationPolicyClaim() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: The name of the claim.
|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: The value of the claim.
|
OpenAuthenticationPolicyClaim |
withName(String name)
Set the name property: The name of the claim.
|
OpenAuthenticationPolicyClaim |
withValue(String value)
Set the value property: The value of the claim.
|
public String name()
public OpenAuthenticationPolicyClaim withName(String name)
name
- the name value to set.public String value()
public OpenAuthenticationPolicyClaim withValue(String value)
value
- the value value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.