Package io.flipt.client.models
Class AuthenticationLease.ExpiringBuildStep
java.lang.Object
io.flipt.client.models.AuthenticationLease.ExpiringBuildStep
- Enclosing class:
- AuthenticationLease
Final build step for expiring leases with configurable retries.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the expiring authentication lease.maxRetries(int maxRetries) Sets the maximum number of consecutive refresh failures before stopping.
-
Method Details
-
maxRetries
Sets the maximum number of consecutive refresh failures before stopping. Defaults to 5.- Parameters:
maxRetries- the maximum number of retries- Returns:
- this build step
-
build
Builds the expiring authentication lease.- Returns:
- a new AuthenticationLease
-