Skip to content

Releases: openfga/dotnet-sdk

v0.2.1

17 Jan 23:00
v0.2.1
4ed3471
Compare
Choose a tag to compare

0.2.1 (2023-01-17)

  • chore(deps): upgrade Microsoft.NET.Test.Sdk and Moq dev dependencies

v0.2.0

15 Dec 01:38
v0.2.0
3e5f0f2
Compare
Choose a tag to compare

0.2.0 (2022-12-14)

Updated to include support for OpenFGA 0.3.0

Changes:

  • [BREAKING] feat(list-objects)!: response has been changed to include the object type e.g. response that was {"object_ids":["roadmap"]}, will now be {"objects":["document:roadmap"]}

Fixes:

  • fix(models): update interfaces that had incorrectly optional fields to make them required

Chore:

  • chore(deps): update dev dependencies

v0.1.2

16 Nov 00:02
v0.1.2
f264ab9
Compare
Choose a tag to compare

0.1.2 (2022-11-15)

  • feat: regenerate from latest API Document, changes include:
    • documentation fixes
    • types that represent enabling wildcards in authorization models
  • fix: send authorization header to server when ApiToken used (openfga/sdk-generator#58)
  • chore: update test dependencies

v0.1.1

07 Oct 20:21
Compare
Choose a tag to compare

0.1.1 (2022-10-07)

  • Fix for issue in deserializing nullable DateTime (#5)

v0.1.0

30 Sep 06:12
v0.1.0
e5e2d8e
Compare
Choose a tag to compare

0.1.0 (2022-09-29)

  • BREAKING: exported interface TypeDefinitions is now WriteAuthorizationModelRequest This is only a breaking change on the SDK, not the API. It was changed to conform to the proto changes in openfga/api.
  • chore(deps): upgrade dependencies

v0.0.3

09 Sep 17:54
v0.0.3
93ee4af
Compare
Choose a tag to compare

0.0.3 (2022-09-09)

v0.0.2

16 Aug 18:03
v0.0.2
1318771
Compare
Choose a tag to compare

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"]

v0.0.1: Initial OpenFGA .NET SDK release

17 Jun 19:02
v0.0.1
ced4960
Compare
Choose a tag to compare

0.0.1 (2022-06-17)

Initial OpenFGA .NET SDK release

  • Support for OpenFGA API
  • CRUD stores
  • Create, read & list authorization models
  • Writing and Reading Tuples
  • Checking authorization
  • Using Expand to understand why access was granted