-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hello,
I just downloaded the Groupsharekit from NuGet in Visual Studio and wanted to test this sample code:
var groupShareClient = await GroupShareClient.AuthenticateClient(userName, password, new Uri("http://yourgroupshareaddress"), GroupShareClient.AllScopes);
var users = await groupShareClient.User.GetAllUsers();
foreach (var user in users)
{
Console.WriteLine(user.DisplayName +" loves Groupshare!");
}
Unfortunately it was not working because a token parameter is required for this method:
GroupShareClient.AuthenticateClient(string token, string user, string password, string bearerId, Uri baseAddress, IEnumerable<string> scopes)
I am not that familiar with using REST-API, I just want to use the C# wrapper. But it does not seem that there is any more sample code anywhere or is there?
Where do I get the required token from? ist it stored somewhere in the Groupshare server?
Any additional documentation would be greatly appreciated.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels