com.netease.cloud.internal.StaticCredentialsProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nos-sdk-java-publiccloud Show documentation
Show all versions of nos-sdk-java-publiccloud Show documentation
nos java sdk to the Central Repository
The newest version!
package com.netease.cloud.internal;
import com.netease.cloud.auth.Credentials;
import com.netease.cloud.auth.CredentialsProvider;
/**
* Simple implementation of CredentialsProvider that just wraps static Credentials.
*/
public class StaticCredentialsProvider implements CredentialsProvider {
private final Credentials credentials;
public StaticCredentialsProvider(Credentials credentials) {
this.credentials = credentials;
}
public Credentials getCredentials() {
return credentials;
}
public void refresh() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy