Class RaxApiKeyCredentials
- java.lang.Object
-
- org.openstack4j.openstack.identity.v2.domain.Auth
-
- org.openstack4j.openstack.identity.v2.domain.RaxApiKeyCredentials
-
- All Implemented Interfaces:
Serializable,AuthStore,ModelEntity,Auth
public class RaxApiKeyCredentials extends Auth implements AuthStore
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RaxApiKeyCredentials()RaxApiKeyCredentials(String username, String apiKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiKey()StringgetId()If this is aAuthVersion.V2then this is the tenantId.StringgetName()If this is aAuthVersion.V2then this is the tenant name.StringgetPassword()StringgetTenantId()StringgetTenantName()StringgetUsername()AuthVersiongetVersion()-
Methods inherited from class org.openstack4j.openstack.identity.v2.domain.Auth
getType, setTenantId, setTenantName
-
-
-
-
Method Detail
-
getTenantId
public String getTenantId()
- Overrides:
getTenantIdin classAuth
-
getTenantName
public String getTenantName()
- Overrides:
getTenantNamein classAuth
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceAuthStore- Returns:
- the username used to authenticate
-
getPassword
public String getPassword()
- Specified by:
getPasswordin interfaceAuthStore- Returns:
- the password used to authenticate
-
getApiKey
public String getApiKey()
-
getId
public String getId()
Description copied from interface:AuthStoreIf this is aAuthVersion.V2then this is the tenantId. IfAuthVersion.V3then this maps to the projectId
-
getName
public String getName()
Description copied from interface:AuthStoreIf this is aAuthVersion.V2then this is the tenant name. IfAuthVersion.V3then this maps to the project name
-
getVersion
public AuthVersion getVersion()
- Specified by:
getVersionin interfaceAuthStore- Returns:
- the version of this authentication store type
-
-