@Service public class AuthenticationTokenManagement extends Object
| Constructor and Description |
|---|
AuthenticationTokenManagement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationToken(Long userId)
Method to get the authentication token for a given user.
|
public String getAuthenticationToken(Long userId) throws NotFoundException
userId - Id of the user to create the token for.NotFoundException - Thrown, when the user can't be found.Copyright © 2019 Communote team. All rights reserved.