Class AppIdAuthentication
java.lang.Object
org.springframework.vault.authentication.AppIdAuthentication
- All Implemented Interfaces:
 AuthenticationStepsFactory,ClientAuthentication
@Deprecated(since="2.2",
            forRemoval=true)
public class AppIdAuthentication
extends Object
implements ClientAuthentication, AuthenticationStepsFactory
Deprecated, for removal: This API element is subject to removal in a future version.
AppId implementation of 
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.- Author:
 - Mark Paluch
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionAppIdAuthentication(AppIdAuthenticationOptions options, RestOperations restOperations) Deprecated, for removal: This API element is subject to removal in a future version. - 
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationStepsDeprecated, for removal: This API element is subject to removal in a future version.Creates aAuthenticationStepsfor AppId authentication givenAppIdAuthenticationOptions.Deprecated, for removal: This API element is subject to removal in a future version.Get theAuthenticationStepsdescribing an authentication flow.login()Deprecated, for removal: This API element is subject to removal in a future version.Return aVaultToken. 
- 
Constructor Details
- 
AppIdAuthentication
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
 options- must not be null.restOperations- must not be null.
 
 - 
 - 
Method Details
- 
createAuthenticationSteps
Deprecated, for removal: This API element is subject to removal in a future version.Creates aAuthenticationStepsfor AppId authentication givenAppIdAuthenticationOptions.- Parameters:
 options- must not be null.- Returns:
 AuthenticationStepsfor AppId authentication.- Since:
 - 2.0
 
 - 
login
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ClientAuthenticationReturn aVaultToken. This method can optionally log into Vault to obtain atoken.- Specified by:
 loginin interfaceClientAuthentication- Returns:
 - a 
VaultToken. 
 - 
getAuthenticationSteps
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AuthenticationStepsFactoryGet theAuthenticationStepsdescribing an authentication flow.- Specified by:
 getAuthenticationStepsin interfaceAuthenticationStepsFactory- Returns:
 - the 
AuthenticationStepsdescribing an authentication flow. 
 
 - 
 
AppRoleAuthentication.