public final class Nonce extends Object
| Constructor and Description |
|---|
Nonce() |
| Modifier and Type | Method and Description |
|---|---|
String |
nonceExpirationInterval()
Get the nonceExpirationInterval property: The time after the request is made when the nonce should expire.
|
void |
validate()
Validates the instance.
|
Boolean |
validateNonce()
Get the validateNonce property: <code>false</code> if the nonce should not be validated while
completing the login flow; otherwise, <code>true</code>.
|
Nonce |
withNonceExpirationInterval(String nonceExpirationInterval)
Set the nonceExpirationInterval property: The time after the request is made when the nonce should expire.
|
Nonce |
withValidateNonce(Boolean validateNonce)
Set the validateNonce property: <code>false</code> if the nonce should not be validated while
completing the login flow; otherwise, <code>true</code>.
|
public Boolean validateNonce()
public Nonce withValidateNonce(Boolean validateNonce)
validateNonce - the validateNonce value to set.public String nonceExpirationInterval()
public Nonce withNonceExpirationInterval(String nonceExpirationInterval)
nonceExpirationInterval - the nonceExpirationInterval value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.