public class RaxApiKeyCredentials extends Auth implements AuthStore
| Constructor and Description |
|---|
RaxApiKeyCredentials() |
RaxApiKeyCredentials(String username,
String apiKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
String |
getId()
If this is a
AuthVersion.V2 then this is the tenantId. |
String |
getName()
If this is a
AuthVersion.V2 then this is the tenant name. |
String |
getPassword() |
String |
getTenantId() |
String |
getTenantName() |
String |
getUsername() |
AuthVersion |
getVersion() |
getType, setTenantId, setTenantNamepublic String getTenantId()
getTenantId in class Authpublic String getTenantName()
getTenantName in class Authpublic String getUsername()
getUsername in interface AuthStorepublic String getPassword()
getPassword in interface AuthStorepublic String getApiKey()
public String getId()
AuthStoreAuthVersion.V2 then this is the tenantId. If AuthVersion.V3 then this maps to the projectIdpublic String getName()
AuthStoreAuthVersion.V2 then this is the tenant name. If AuthVersion.V3 then this maps to the project namepublic AuthVersion getVersion()
getVersion in interface AuthStoreCopyright © 2017. All rights reserved.