public class WxAccessToken extends Object implements WxCredential
WxCredential.Type
Constructor and Description |
---|
WxAccessToken() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getAccessToken() |
String |
getCredential()
获取凭证
|
int |
getExpiresIn()
获取有效时长
|
int |
hashCode() |
void |
setAccessToken(String accessToken) |
void |
setExpiresIn(int expiresIn) |
String |
toString() |
public String getAccessToken()
public int getExpiresIn()
WxCredential
getExpiresIn
in interface WxCredential
public String getCredential()
WxCredential
getCredential
in interface WxCredential
public void setAccessToken(String accessToken)
public void setExpiresIn(int expiresIn)
protected boolean canEqual(Object other)
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.