public class OpenIdNonce extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BYTE_LENGTH
The default byte length of randomly generated nonce.
|
| Constructor and Description |
|---|
OpenIdNonce() |
OpenIdNonce(int byteLength) |
OpenIdNonce(String value)
Creates a new nonce with the given nonce value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getValue() |
int |
hashCode() |
String |
toString() |
static OpenIdNonce |
valueOf(String value)
Convert String nonce value to Nonce object
|
public static final int DEFAULT_BYTE_LENGTH
public OpenIdNonce()
public OpenIdNonce(String value)
value - The nonce value. Must not be null or empty.public OpenIdNonce(int byteLength)
byteLength - The byte length of the randomly generated value.public String getValue()
public static OpenIdNonce valueOf(String value)
value - The nonce value. Must not be null or empty.Copyright © 2019. All rights reserved.