public class Credentials extends Auth implements AuthStore
| Constructor and Description |
|---|
Credentials() |
Credentials(String username,
String password) |
Credentials(String username,
String password,
String domainId) |
| Modifier and Type | Method and Description |
|---|---|
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 |
getUsername() |
AuthVersion |
getVersion() |
getDomainId, getDomainName, getProjectId, getProjectName, getType, setDomainId, setDomainName, setProjectId, setProjectNamepublic String getUsername()
getUsername in interface AuthStorepublic String getPassword()
getPassword in interface AuthStorepublic 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.