Class AuthenticationLease.FixedBuilder

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

public static class AuthenticationLease.FixedBuilder extends Object
Builder for fixed leases (no expiry, no retries).
  • Method Details

    • jwt

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

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