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