github openfga/dotnet-sdk v0.0.2

latest releases: v0.5.1, v0.5.0, v0.4.0...
2 years ago

0.0.2 (2022-08-15)

Support for ListObjects API

You call the API and receive the list of object ids from a particular type that the user has a certain relation with.

For example, to find the list of documents that Anne can read:

var body = new ListObjectsRequest{
 AuthorizationModelId = "01GAHCE4YVKPQEKZQHT2R89MQV",
 User = "anne",
 Relation = "can_read",
 Type = "document"
};
var response = await openFgaApi.ListObjects(body);

// response.ObjectIds = ["roadmap"]

Don't miss a new dotnet-sdk release

NewReleases is sending notifications on new releases.