Class AuthenticationLease.ExpiringBuilder

java.lang.Object
io.flipt.client.models.AuthenticationLease.ExpiringBuilder
Enclosing class:
AuthenticationLease

public static class AuthenticationLease.ExpiringBuilder extends Object
Builder for expiring leases.
  • Method Details

    • jwt

      Sets JWT authentication for this lease.
      Parameters:
      token - the JWT token value
      Returns:
      the build step to configure retries and finalize the lease
    • clientToken

      public AuthenticationLease.ExpiringBuildStep clientToken(String token)
      Sets client token authentication for this lease.
      Parameters:
      token - the client token value
      Returns:
      the build step to configure retries and finalize the lease