public class AccessToken extends Object
| Modifier and Type | Method and Description |
|---|---|
static AccessToken |
apply(String akId,
String akSecrete)
从阿里云服务申请访问令牌
|
long |
getExpireTime() |
String |
getToken() |
public String getToken()
public long getExpireTime()
public static AccessToken apply(String akId, String akSecrete) throws com.aliyuncs.exceptions.ClientException
akId - access key idakSecrete - access key secretcom.aliyuncs.exceptions.ClientExceptionCopyright © 2018. All rights reserved.