Class ImpersonationTokenNonce
java.lang.Object
com.broadleafcommerce.auth.user.domain.ImpersonationTokenNonce
- All Implemented Interfaces:
Serializable
One-time use token that is used for extra validation in "/consume-token" endpoint.
- Since:
- Authentication Service 2.1.4, Release Train 2.1.4, Authentication Service 2.2.0, Release Train 2.2.0
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The date-time used to indicate when the token expires.getId()
The primary key of this nonce.getNonce()
One-time use token value.int
hashCode()
void
setExpirationTimestamp
(Instant expirationTimestamp) The date-time used to indicate when the token expires.void
The primary key of this nonce.void
One-time use token value.toString()
-
Constructor Details
-
ImpersonationTokenNonce
public ImpersonationTokenNonce()
-
-
Method Details
-
getId
The primary key of this nonce. -
getNonce
One-time use token value. -
getExpirationTimestamp
The date-time used to indicate when the token expires. -
setId
The primary key of this nonce. -
setNonce
One-time use token value. -
setExpirationTimestamp
The date-time used to indicate when the token expires. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-