com.datastax.stargate.sdk.core.ApiTokenProviderFixed Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stargate-sdk Show documentation
Show all versions of stargate-sdk Show documentation
Connect to Stargate Data Gateway
package com.datastax.stargate.sdk.core;
/**
* Static token, never expires..
*
* @author Cedrick LUNVEN (@clunven)
*/
public class ApiTokenProviderFixed implements ApiTokenProvider {
/** Reference to token. */
private String token;
/**
* Constructor with all parameters.
*
* @param token
* static token to be used
*/
public ApiTokenProviderFixed(String token) {
this.token = token;
}
/** {@inheritDoc} */
@Override
public String getToken() {
return token;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy