Uses of Class
org.springframework.vault.authentication.LoginToken
Packages that use LoginToken
Package
Description
Support for authentication and session management.
-
Uses of LoginToken in org.springframework.vault.authentication
Methods in org.springframework.vault.authentication that return LoginTokenModifier and TypeMethodDescriptionLoginToken.LoginTokenBuilder.build()Build a newLoginTokeninstance.LoginTokenAdapter.login()static LoginTokenLoginToken.of(char[] token) Create a newLoginToken.static LoginTokenCreate a newLoginTokenwith aleaseDurationSeconds.static LoginTokenCreate a newLoginToken.static LoginTokenCreate a new renewableLoginTokenwith aleaseDurationSeconds.static LoginTokenLoginToken.renewable(VaultToken token, Duration leaseDuration) Create a new renewableLoginTokenwith aleaseDurationSeconds.Methods in org.springframework.vault.authentication with parameters of type LoginTokenModifier and TypeMethodDescriptionLifecycleAwareSessionManagerSupport.FixedTimeoutRefreshTrigger.getValidTtlThreshold(LoginToken loginToken) LifecycleAwareSessionManagerSupport.RefreshTrigger.getValidTtlThreshold(LoginToken loginToken) Returns the minimum TTL duration to consider a token valid after renewal.protected booleanLifecycleAwareSessionManagerSupport.isExpired(LoginToken loginToken) Check whether the Token falls below itsvalidity threshold.LifecycleAwareSessionManagerSupport.FixedTimeoutRefreshTrigger.nextExecutionTime(LoginToken loginToken) LifecycleAwareSessionManagerSupport.RefreshTrigger.nextExecutionTime(LoginToken loginToken) Determine the next execution time according to the given trigger context.