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, setTenantName
public String getTenantId()
getTenantId
in class Auth
public String getTenantName()
getTenantName
in class Auth
public String getUsername()
getUsername
in interface AuthStore
public String getPassword()
getPassword
in interface AuthStore
public String getApiKey()
public String getId()
AuthStore
AuthVersion.V2
then this is the tenantId. If AuthVersion.V3
then this maps to the projectIdpublic String getName()
AuthStore
AuthVersion.V2
then this is the tenant name. If AuthVersion.V3
then this maps to the project namepublic AuthVersion getVersion()
getVersion
in interface AuthStore
Copyright © 2017. All rights reserved.