Interface TokenManager<T>
- All Known Implementing Classes:
TokenManagerInMemory
public interface TokenManager<T>
Manages tokens
so we can implement and plug various policies.
-
Method Summary
-
Method Details
-
put
Creates a new token for the user and returns it. It may add it to the token list or replace the previous one for the user. Never returnsnull. -
get
Returns user details for a token. -
remove
Removes a single token.
-