AppRoleAuthentication.@Deprecated public class AppIdAuthentication extends Object implements ClientAuthentication, AuthenticationStepsFactory
ClientAuthentication. AppIdAuthentication uses
a configured AppIdUserIdMechanism to obtain or calculate a UserId. AppId and
UserId are sent in the login request to Vault to obtain a VaultToken.AppIdAuthenticationOptions,
RestOperations,
Auth Backend: App
ID| Constructor and Description |
|---|
AppIdAuthentication(AppIdAuthenticationOptions options,
RestOperations restOperations)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationSteps |
createAuthenticationSteps(AppIdAuthenticationOptions options)
Deprecated.
Creates a
AuthenticationSteps for AppId authentication given
AppIdAuthenticationOptions. |
AuthenticationSteps |
getAuthenticationSteps()
Deprecated.
Get the
AuthenticationSteps describing an authentication flow. |
VaultToken |
login()
Deprecated.
Return a
VaultToken. |
public AppIdAuthentication(AppIdAuthenticationOptions options, RestOperations restOperations)
options - must not be null.restOperations - must not be null.public static AuthenticationSteps createAuthenticationSteps(AppIdAuthenticationOptions options)
AuthenticationSteps for AppId authentication given
AppIdAuthenticationOptions.options - must not be null.AuthenticationSteps for AppId authentication.public VaultToken login()
ClientAuthenticationVaultToken. This method can optionally log into Vault to obtain a
token.login in interface ClientAuthenticationVaultToken.public AuthenticationSteps getAuthenticationSteps()
AuthenticationStepsFactoryAuthenticationSteps describing an authentication flow.getAuthenticationSteps in interface AuthenticationStepsFactoryAuthenticationSteps describing an authentication flow.Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.