Class OpenFGAConfig
java.lang.Object
io.quarkiverse.openfga.runtime.config.OpenFGAConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanAlways Treatstoreas the name of a store and resolve the store id at runtime.Authorization model id for defaultAuthorizationModelClientbean.Timeout to establish a connection with OpenFGA.static final Stringstatic final Stringstatic final StringList of remote hosts that are not proxied when the client is configured to use a proxy.Request timeout on OpenFGA.Shared authentication key.Store id or name for defaultStoreClientbean.TLS configuration.OpenFGA server URL. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
DEFAULT_CONNECT_TIMEOUT
- See Also:
-
DEFAULT_READ_TIMEOUT
- See Also:
-
url
OpenFGA server URL.Example: http://openfga:8080
-
store
Store id or name for defaultStoreClientbean.If the provided property does not match the OpenFGA store id format (
^[ABCDEFGHJKMNPQRSTVWXYZ0-9]{26}$) it will be treated as a store name and a matching store id will be resolved at runtime.- See Also:
-
alwaysResolveStoreId
@ConfigItem(defaultValue="false") public boolean alwaysResolveStoreIdAlways Treatstoreas the name of a store and resolve the store id at runtime.If true, the store id will always be resolved at runtime regardless of the format of the
storeproperty. Otherwise, the store id will be resolved only whenstoredoes not match the OpenFGA store id format.- See Also:
-
authorizationModelId
Authorization model id for defaultAuthorizationModelClientbean.If none is provided the default bean will target the default authorization model for the store.
-
tls
TLS configuration. -
connectTimeout
Timeout to establish a connection with OpenFGA. -
readTimeout
Request timeout on OpenFGA. -
nonProxyHosts
List of remote hosts that are not proxied when the client is configured to use a proxy. This list serves the same purpose as the JVMnonProxyHostsconfiguration.Entries can use the * wildcard character for pattern matching, e.g *.example.com matches www.example.com.
-
-
Constructor Details
-
OpenFGAConfig
public OpenFGAConfig()
-