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