public interface TokenService
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.userdetails.UserDetails |
findUserByToken(String token)
Find a user by a security token
|
String |
generateAndStoreToken(String username,
String description)
Generates a token and associates it with a user.
|
void |
removeToken(String token)
Remove a token from the store
|
String generateAndStoreToken(String username, String description)
org.springframework.security.core.userdetails.UserDetails findUserByToken(String token)
void removeToken(String token)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.