public class ClientCertificateAuthentication extends Object implements ClientAuthentication, AuthenticationStepsFactory
ClientAuthentication.| Constructor and Description |
|---|
ClientCertificateAuthentication(ClientCertificateAuthenticationOptions options,
org.springframework.web.client.RestOperations restOperations)
Create a
ClientCertificateAuthentication using RestOperations. |
ClientCertificateAuthentication(org.springframework.web.client.RestOperations restOperations)
Create a
ClientCertificateAuthentication using RestOperations. |
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationSteps |
createAuthenticationSteps()
Creates a
AuthenticationSteps for client certificate authentication. |
static AuthenticationSteps |
createAuthenticationSteps(ClientCertificateAuthenticationOptions options)
Creates a
AuthenticationSteps for client certificate authentication. |
AuthenticationSteps |
getAuthenticationSteps()
Get the
AuthenticationSteps describing an authentication flow. |
VaultToken |
login()
Return a
VaultToken. |
public ClientCertificateAuthentication(org.springframework.web.client.RestOperations restOperations)
ClientCertificateAuthentication using RestOperations.restOperations - must not be null.public ClientCertificateAuthentication(ClientCertificateAuthenticationOptions options, org.springframework.web.client.RestOperations restOperations)
ClientCertificateAuthentication using RestOperations.options - must not be null.restOperations - must not be null.public static AuthenticationSteps createAuthenticationSteps()
AuthenticationSteps for client certificate authentication.AuthenticationSteps for client certificate authentication.public static AuthenticationSteps createAuthenticationSteps(ClientCertificateAuthenticationOptions options)
AuthenticationSteps for client certificate authentication.options - must not be null.AuthenticationSteps for client certificate 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–2024 Pivotal Software, Inc.. All rights reserved.