@Singleton public class AuthenticateApiKeyCredentials extends BaseAuthenticator<ApiKeyCredentials>
Modifier and Type | Field and Description |
---|---|
protected CloudIdentityAuthenticationApi |
api |
defaultTenantId, defaultTenantName, logger, requiresTenant
Constructor and Description |
---|
AuthenticateApiKeyCredentials(CloudIdentityAuthenticationApi api) |
Modifier and Type | Method and Description |
---|---|
protected Access |
authenticateWithTenantId(com.google.common.base.Optional<String> tenantId,
ApiKeyCredentials apiKeyCredentials) |
protected Access |
authenticateWithTenantName(com.google.common.base.Optional<String> tenantId,
ApiKeyCredentials apiKeyCredentials) |
ApiKeyCredentials |
createCredentials(String identity,
String credential) |
String |
toString() |
apply, checkPropertiesAreCompatible
protected final CloudIdentityAuthenticationApi api
@Inject public AuthenticateApiKeyCredentials(CloudIdentityAuthenticationApi api)
protected Access authenticateWithTenantName(com.google.common.base.Optional<String> tenantId, ApiKeyCredentials apiKeyCredentials)
authenticateWithTenantName
in class BaseAuthenticator<ApiKeyCredentials>
protected Access authenticateWithTenantId(com.google.common.base.Optional<String> tenantId, ApiKeyCredentials apiKeyCredentials)
authenticateWithTenantId
in class BaseAuthenticator<ApiKeyCredentials>
public ApiKeyCredentials createCredentials(String identity, String credential)
createCredentials
in class BaseAuthenticator<ApiKeyCredentials>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.