Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
srivastavarahull committed Aug 10, 2023
1 parent 4aa8859 commit 7225e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TestOSS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static async Task ClassInitializeAsync(TestContext testContext)

Console.WriteLine($"CLIENT_ID: {clientId}");
Console.WriteLine($"CLIENT_SECRET: {clientSecret}");
dynamic auth = await new TwoLeggedApi().AuthenticateAsync(Environment.GetEnvironmentVariable("CLIENT_ID")!,Environment.GetEnvironmentVariable("CLIENT_SECRET")!, "client_credentials", new Scope[] { Scope.BucketCreate, Scope.BucketRead, Scope.DataRead, Scope.DataWrite, Scope.DataCreate });
dynamic auth = await new TwoLeggedApi().AuthenticateAsync(clientId,clientSecret, "client_credentials", new Scope[] { Scope.BucketCreate, Scope.BucketRead, Scope.DataRead, Scope.DataWrite, Scope.DataCreate });

// Console.WriteLine(auth.ToString());
token = auth.access_token;
Expand Down

0 comments on commit 7225e9a

Please sign in to comment.