@Consumes(value="application/json") @Path(value="/tokens") public interface V2AuthenticationApi extends AuthenticationApi, Closeable
Modifier and Type | Method and Description |
---|---|
Access |
authenticateAccessKey(TenantOrDomainAndCredentials<ApiAccessKeyCredentials> credentials)
Authenticate to generate a token.
|
Access |
authenticatePassword(TenantOrDomainAndCredentials<PasswordCredentials> credentials)
Authenticate to generate a token.
|
authenticateToken
@POST Access authenticatePassword(TenantOrDomainAndCredentials<PasswordCredentials> credentials)
authenticatePassword
in interface AuthenticationApi
@POST Access authenticateAccessKey(TenantOrDomainAndCredentials<ApiAccessKeyCredentials> credentials)
authenticateAccessKey
in interface AuthenticationApi
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.