public class MemoryWxTokenStore extends AbstractMemoryCredentialStore implements WxTokenStore
| Constructor and Description |
|---|
MemoryWxTokenStore() |
| Modifier and Type | Method and Description |
|---|---|
long |
expires()
获取过期时间
|
String |
get()
获取Token
|
void |
store(String token,
long expires)
设置token
|
lock, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlock, unlockpublic String get()
get in interface WxCredentialStorepublic void store(String token, long expires)
store in interface WxCredentialStoretoken - expires - public long expires()
expires in interface WxCredentialStoreCopyright © 2018 Guangshan Technology, Inc.. All rights reserved.