Package io.quarkiverse.openfga.client
Class OpenFGAClient
- java.lang.Object
-
- io.quarkiverse.openfga.client.OpenFGAClient
-
@ApplicationScoped public class OpenFGAClient extends Object
-
-
Constructor Summary
Constructors Constructor Description OpenFGAClient(API api)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Store>createStore(String name)io.smallrye.mutiny.Uni<List<Store>>listAllStores()io.smallrye.mutiny.Uni<List<Store>>listAllStores(Integer pageSize)io.smallrye.mutiny.Uni<PaginatedList<Store>>listStores(Integer pageSize, String continuationToken)StoreClientstore(String storeId)static io.smallrye.mutiny.Uni<String>storeIdResolver(API api, String storeIdOrName, boolean alwaysResolveStoreId)
-
-
-
Constructor Detail
-
OpenFGAClient
@Inject public OpenFGAClient(API api)
-
-
Method Detail
-
listStores
public io.smallrye.mutiny.Uni<PaginatedList<Store>> listStores(@Nullable Integer pageSize, @Nullable String continuationToken)
-
store
public StoreClient store(String storeId)
-
-