public interface TokenSecurity
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowExecute(String token,
String methodId)
By given token and MyServerless methodId, check if allow execute
|
String |
login(String username,
String password)
According given username and password, create a token string, return null if password is not right
|
Copyright © 2021. All rights reserved.