Interface OpenFGAConfig
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanAlways Treatstore()as the name of a store and resolve the store id at runtime.Authorization model id for defaultAuthorizationModelClientbean.Timeout to establish a connection with OpenFGA.List of remote hosts that are not proxied when the client is configured to use a proxy.Request timeout on OpenFGA.Shared authentication key.store()Store id or name for defaultStoreClientbean.The name of the TLS configuration to use.url()OpenFGA server URL.
-
Field Details
-
PREFIX
- See Also:
-
DEFAULT_CONNECT_TIMEOUT
- See Also:
-
DEFAULT_READ_TIMEOUT
- See Also:
-
-
Method Details
-
url
URL url()OpenFGA server URL.Example: http://openfga:8080
-
store
String 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
@WithDefault("false") boolean alwaysResolveStoreId()Always Treatstore()as 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
store()property. Otherwise, the store id will be resolved only whenstore()does 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.
-
tlsConfigurationName
The name of the TLS configuration to use.If not set and the default TLS configuration is configured (
quarkus.tls.*) then that will be used. If a name is configured, it uses the configuration fromquarkus.tls.<name>.*If a name is configured, but no TLS configuration is found with that name then an error will be thrown. -
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.
-