You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flipt-client-java/README.md
+107-1Lines changed: 107 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,8 +139,9 @@ The `FliptClient.builder()` method returns a `FliptClient.Builder` object that a
139
139
-`authentication`: The authentication strategy to use when communicating with the upstream Flipt instance. If not provided, the client will default to no authentication. See the [Authentication](#authentication) section for more information.
140
140
-`reference`: The [reference](https://docs.flipt.io/guides/user/using-references) to use when fetching flag state. If not provided, reference will not be used.
141
141
-`fetchMode`: The fetch mode to use when fetching flag state. If not provided, the client will default to polling.
142
-
-`errorStrategy`: The error strategy to use when fetching flag state. If not provide, the client will be default to fail. See the [Error Strategies](#error-strategies) section for more information.
142
+
-`errorStrategy`: The error strategy to use when fetching flag state. If not provided, the client will default to fail. See the [Error Strategies](#error-strategies) section for more information.
143
143
-`snapshot`: The initial snapshot to use when instantiating the client. See the [Snapshotting](#snapshotting) section for more information.
144
+
-`tlsConfig`: The TLS configuration to use when connecting to the upstream Flipt instance. See the [TLS Configuration](#tls-configuration) section for more information.
144
145
145
146
### Authentication
146
147
@@ -150,6 +151,111 @@ The `FliptClient` supports the following authentication strategies:
-`clientCertFile`: Client certificate file for mutual TLS (PEM format)
253
+
-`clientKeyFile`: Client private key file for mutual TLS (PEM format)
254
+
-`clientCertData`: Raw client certificate content (PEM format) - takes precedence over `clientCertFile`
255
+
-`clientKeyData`: Raw client private key content (PEM format) - takes precedence over `clientKeyFile`
256
+
257
+
> **Note**: When both file paths and data are provided, the data fields take precedence. For example, if both `caCertFile` and `caCertData` are set, `caCertData` will be used.
258
+
153
259
### Error Strategies
154
260
155
261
The client `errorStrategy` method supports the following error strategies:
0 commit comments