public class JWTConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
JWTConfig() |
JWTConfig(JWTConfig source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
TokenRuleEntry[] |
getPayloadRule()
Get Payload校验规则集合
|
SecretInfo |
getSecretInfo()
Get 密钥信息
|
void |
setPayloadRule(TokenRuleEntry[] PayloadRule)
Set Payload校验规则集合
|
void |
setSecretInfo(SecretInfo SecretInfo)
Set 密钥信息
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public JWTConfig()
public JWTConfig(JWTConfig source)
public SecretInfo getSecretInfo()
public void setSecretInfo(SecretInfo SecretInfo)
SecretInfo
- 密钥信息public TokenRuleEntry[] getPayloadRule()
public void setPayloadRule(TokenRuleEntry[] PayloadRule)
PayloadRule
- Payload校验规则集合Copyright © 2025. All rights reserved.