public class JwtAuthenticationUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL
A convenient way to indicate the 'all' quantifier.
|
| Constructor and Description |
|---|
JwtAuthenticationUtil() |
public static final String ALL
public static String generateToken(String secretKey, String action, String resource, String feedId, String userId)
secretKey - API Secretaction - Action to be performedresource - Target resourcefeedId - FeedId (if null it will not be added to the payload)userId - UserId (if null it will not be added to the payload)Copyright © 2016. All rights reserved.