public interface TokenSecurity
| Modifier and Type | Method and Description |
|---|---|
String |
check(String myToken,
String methodId,
boolean hotCompile)
By given myToken and MyServerless methodId, check if allow execute
|
String |
login(String userId,
String password)
According given userId and password, create a myToken string, return null if password is not right
|
String login(String userId, String password)
userId - password - String check(String myToken, String methodId, boolean hotCompile)
myToken - current user's myTokenmethodId - cureent method idhotCompile - require hot compile if it's SQL or Java piece received from frontendCopyright © 2022. All rights reserved.