diff --git a/samples/Fga.Example.Standalone/Fga.Example.Standalone.csproj b/samples/Fga.Example.Standalone/Fga.Example.Standalone.csproj deleted file mode 100644 index 4d6a995..0000000 --- a/samples/Fga.Example.Standalone/Fga.Example.Standalone.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - Exe - net6.0 - enable - enable - - - - - - - diff --git a/samples/Fga.Example.Standalone/Program.cs b/samples/Fga.Example.Standalone/Program.cs deleted file mode 100644 index f159dcb..0000000 --- a/samples/Fga.Example.Standalone/Program.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Fga.Net; -using Fga.Net.Authentication; -using Fga.Net.Authorization; - - -var clientId = args[0]; -var clientSecret = args[1]; -var storeId = args[2]; - -var client = FgaAuthorizationClient.Create(FgaAuthenticationClient.Create(), new FgaClientConfiguration -{ - ClientId = clientId, - ClientSecret = clientSecret -}); - -var response = await client.CheckAsync(storeId, new CheckRequestParams -{ - Tuple_key = new TupleKey() - { - User = "", - Relation = "", - Object = "" - } -}); \ No newline at end of file