Interface TokenManager<T>
-
- All Known Implementing Classes:
TokenManagerInMemory
public interface TokenManager<T>Manages tokens so we can implement and plug various policies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tget(String tokenId)Returns user details for a token.Stringput(T token)Creates a new token for the user and returns it.booleanremove(String tokenId)Removes a single token.
-