Class Nonce
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.Nonce
-
public final class Nonce extends Object
The configuration settings of the nonce used in the login flow.
-
-
Constructor Summary
Constructors Constructor Description Nonce()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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>.
-
-
-
Method Detail
-
validateNonce
public 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>.- Returns:
- the validateNonce value.
-
withValidateNonce
public 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>.- Parameters:
validateNonce
- the validateNonce value to set.- Returns:
- the Nonce object itself.
-
nonceExpirationInterval
public String nonceExpirationInterval()
Get the nonceExpirationInterval property: The time after the request is made when the nonce should expire.- Returns:
- the nonceExpirationInterval value.
-
withNonceExpirationInterval
public Nonce withNonceExpirationInterval(String nonceExpirationInterval)
Set the nonceExpirationInterval property: The time after the request is made when the nonce should expire.- Parameters:
nonceExpirationInterval
- the nonceExpirationInterval value to set.- Returns:
- the Nonce object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-