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, unlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lock, unlock
public String get()
get
in interface WxCredentialStore
public void store(String ticket, long expires)
store
in interface WxCredentialStore
ticket
- expires
- public long expires()
expires
in interface WxCredentialStore
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.