Class PersistentRememberMeToken
java.lang.Object
com.codename1.backend.security.rememberme.PersistentRememberMeToken
One remembered sign-in, as the server keeps it: whose it is, the series the
cookie names, the hash of the token the cookie must carry next, and when it
was last used.
-
Constructor Summary
ConstructorsConstructorDescriptionPersistentRememberMeToken(String username, String series, String tokenHash, long lastUsed) PersistentRememberMeToken(String username, String series, String tokenHash, long lastUsed, String previousTokenHash) Includes the token replaced atlastUsed, for a bounded concurrent-use grace. -
Method Summary
Modifier and TypeMethodDescriptionlongThe hash replaced atgetLastUsed(), or null before the first rotation.
-
Constructor Details
-
PersistentRememberMeToken
-
PersistentRememberMeToken
-
-
Method Details
-
getUsername
-
getSeries
-
getTokenHash
-
getLastUsed
public long getLastUsed() -
getPreviousTokenHash
The hash replaced atgetLastUsed(), or null before the first rotation.
-