Class DefaultOneTimeToken
java.lang.Object
org.springframework.security.authentication.ott.DefaultOneTimeToken
- All Implemented Interfaces:
 OneTimeToken
A default implementation of 
OneTimeToken- Since:
 - 6.4
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription 
- 
Constructor Details
- 
DefaultOneTimeToken
 
 - 
 - 
Method Details
- 
getTokenValue
- Specified by:
 getTokenValuein interfaceOneTimeToken- Returns:
 - the one-time token value, never 
null 
 - 
getUsername
- Specified by:
 getUsernamein interfaceOneTimeToken- Returns:
 - the username associated with this token, never 
null 
 - 
getExpiresAt
- Specified by:
 getExpiresAtin interfaceOneTimeToken- Returns:
 - the expiration time of the token
 
 
 -