Class API
java.lang.Object
io.quarkiverse.openfga.client.api.API
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionAPI(OpenFGAConfig config, boolean tracingEnabled, io.vertx.mutiny.core.Vertx vertx, io.quarkus.tls.TlsConfigurationRegistry tlsRegistry) API(io.vertx.mutiny.ext.web.client.WebClient webClient, io.vertx.ext.auth.authentication.Credentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<BatchCheckResponse>batchCheck(String storeId, BatchCheckRequest request) io.smallrye.mutiny.Uni<CheckResponse>check(String storeId, CheckRequest request) voidclose()io.smallrye.mutiny.Uni<CreateStoreResponse>createStore(CreateStoreRequest request) io.smallrye.mutiny.Uni<Void>deleteStore(String storeId) io.smallrye.mutiny.Uni<ExpandResponse>expand(String storeId, ExpandRequest request) io.smallrye.mutiny.Uni<GetStoreResponse>io.smallrye.mutiny.Uni<HealthzResponse>health()io.smallrye.mutiny.Uni<ListAuthorizationModelsResponse>listAuthorizationModels(String storeId, ListAuthorizationModelsRequest request) io.smallrye.mutiny.Uni<ListObjectsResponse>listObjects(String storeId, ListObjectsRequest request) io.smallrye.mutiny.Uni<ListStoresResponse>listStores(ListStoresRequest request) io.smallrye.mutiny.Uni<ListUsersResponse>listUsers(String storeId, ListUsersRequest request) io.smallrye.mutiny.Uni<ReadResponse>read(String storeId, ReadRequest request) io.smallrye.mutiny.Uni<ReadAssertionsResponse>readAssertions(String storeId, String authorizationModelId) io.smallrye.mutiny.Uni<ReadAuthorizationModelResponse>readAuthorizationModel(String storeId, String id) io.smallrye.mutiny.Uni<ReadChangesResponse>readChanges(String storeId, ReadChangesRequest request) io.smallrye.mutiny.Uni<WriteResponse>write(String storeId, WriteRequest request) io.smallrye.mutiny.Uni<Void>writeAssertions(String storeId, WriteAssertionsRequest request) io.smallrye.mutiny.Uni<WriteAuthorizationModelResponse>writeAuthorizationModel(String storeId, WriteAuthorizationModelRequest request)
-
Constructor Details
-
API
public API(OpenFGAConfig config, boolean tracingEnabled, io.vertx.mutiny.core.Vertx vertx, io.quarkus.tls.TlsConfigurationRegistry tlsRegistry) -
API
public API(io.vertx.mutiny.ext.web.client.WebClient webClient, @Nullable io.vertx.ext.auth.authentication.Credentials credentials)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
listStores
-
createStore
-
getStore
-
deleteStore
-
listAuthorizationModels
public io.smallrye.mutiny.Uni<ListAuthorizationModelsResponse> listAuthorizationModels(String storeId, ListAuthorizationModelsRequest request) -
writeAuthorizationModel
public io.smallrye.mutiny.Uni<WriteAuthorizationModelResponse> writeAuthorizationModel(String storeId, WriteAuthorizationModelRequest request) -
readAuthorizationModel
public io.smallrye.mutiny.Uni<ReadAuthorizationModelResponse> readAuthorizationModel(String storeId, @Nullable String id) -
readChanges
public io.smallrye.mutiny.Uni<ReadChangesResponse> readChanges(String storeId, ReadChangesRequest request) -
read
-
write
-
check
-
batchCheck
public io.smallrye.mutiny.Uni<BatchCheckResponse> batchCheck(String storeId, BatchCheckRequest request) -
expand
-
listObjects
public io.smallrye.mutiny.Uni<ListObjectsResponse> listObjects(String storeId, ListObjectsRequest request) -
listUsers
public io.smallrye.mutiny.Uni<ListUsersResponse> listUsers(String storeId, ListUsersRequest request) -
readAssertions
public io.smallrye.mutiny.Uni<ReadAssertionsResponse> readAssertions(String storeId, String authorizationModelId) -
writeAssertions
-
health
-