public class AuthenticationStepsExecutor extends Object implements ClientAuthentication
AuthenticationSteps
using RestOperations
to
login using authentication flows.AuthenticationSteps
Constructor and Description |
---|
AuthenticationStepsExecutor(AuthenticationSteps steps,
RestOperations restOperations)
|
Modifier and Type | Method and Description |
---|---|
VaultToken |
login()
Return a
VaultToken . |
public AuthenticationStepsExecutor(AuthenticationSteps steps, RestOperations restOperations)
steps
- must not be null.restOperations
- must not be null.public VaultToken login() throws VaultException
ClientAuthentication
VaultToken
. This method can optionally log into Vault to obtain a
token
.login
in interface ClientAuthentication
VaultToken
.VaultException
Copyright © 2016–2022 Pivotal Software, Inc.. All rights reserved.