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, 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 token, long expires)
store
in interface WxCredentialStore
token
- expires
- public long expires()
expires
in interface WxCredentialStore
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.