public interface WxCredentialStore
Modifier and Type | Method and Description |
---|---|
long |
expires()
获取过期时间
|
String |
get()
获取credential
|
boolean |
lock()
多线程或者分布式时,防止多个同时设置credential值,也同时用于防止credentialManage同时多次刷新
|
void |
store(String credential,
long expires)
设置credential
|
void |
unlock()
解锁
|
String get()
void store(String credential, long expires)
credential
- expires
- long expires()
boolean lock()
void unlock()
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.