| Package | Description |
|---|---|
| jizcode.api |
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationConf |
AuthenticationConf.buildWithAnonymous()
allow anonymouse access
|
static AuthenticationConf |
AuthenticationConf.buildWithCookie(String name,
String encryptKey) |
static AuthenticationConf |
AuthenticationConf.buildWithSingleApp(String appId,
String appKey)
请求时传输appId,然后所有数据用appKey签名,
appId匹配,数据签名无错误即是为认证有效,
签名字段为sign
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ApiModule> |
ApiStartup.config(AuthenticationConf conf) |
<T extends ApiModule> |
ApiStartup.config(Class<T> scopeClass,
AuthenticationConf conf) |
static Authentication |
Authentication.createWithConf(AuthenticationConf conf) |
Copyright © 2019. All rights reserved.