com.aliyuncs.v5.auth.BearerTokenCredentials Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-core-v5 Show documentation
Show all versions of aliyun-java-sdk-core-v5 Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
The newest version!
package com.aliyuncs.v5.auth;
public class BearerTokenCredentials implements AlibabaCloudCredentials {
private String bearerToken;
public BearerTokenCredentials(String bearerToken) {
this.bearerToken = bearerToken;
}
@Override
public String getAccessKeyId() {
return null;
}
@Override
public String getAccessKeySecret() {
return null;
}
public String getBearerToken() {
return bearerToken;
}
public void setBearerToken(String bearerToken) {
this.bearerToken = bearerToken;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy