public class KeyApi extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.noear.water.dso.ApiCaller |
apiCaller |
| Constructor and Description |
|---|
KeyApi() |
| Modifier and Type | Method and Description |
|---|---|
KeyM |
getKeyByAccessKey(String accessKey)
获取密钥
|
KeyM |
getKeyById(Integer keyId)
获取密钥
|
protected KeyM |
loadDo(String accessKey,
int orKeyId) |
void |
refresh(String accessKey,
int orKeyId)
刷新密钥
|
protected final org.noear.water.dso.ApiCaller apiCaller
public KeyM getKeyByAccessKey(String accessKey) throws IOException
IOExceptionpublic KeyM getKeyById(Integer keyId) throws IOException
IOExceptionpublic void refresh(String accessKey, int orKeyId) throws IOException
IOExceptionprotected KeyM loadDo(String accessKey, int orKeyId) throws IOException
IOExceptionCopyright © 2025. All rights reserved.