https://github.com/respoke/dotnet-respoke-admin
Respoke library for .NET v3.5 or higher
https://github.com/respoke/dotnet-respoke-admin
Last synced: over 1 year ago
JSON representation
Respoke library for .NET v3.5 or higher
- Host: GitHub
- URL: https://github.com/respoke/dotnet-respoke-admin
- Owner: respoke
- License: mit
- Created: 2014-12-23T17:35:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-24T12:46:00.000Z (almost 11 years ago)
- Last Synced: 2025-02-03T10:46:24.711Z (over 1 year ago)
- Language: C#
- Homepage: https://www.respoke.io
- Size: 329 KB
- Stars: 1
- Watchers: 13
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Respoke C# / .NET library
This is an early library for building .NET server apps using Respoke.
Respoke platform documentation can be viewed at https://docs.respoke.io.
Please GitHub to [report bugs or request features](https://github.com/respoke/dotnet-respoke-admin/issues), or start a discussion on the [Respoke community website](http://community.respoke.io).
## Usage
### Getting an auth token for a client
```csharp
using Respoke;
// . . .
RespokeClient respoke = new RespokeClient();
RespokeEndpointTokenRequestBody reqParams = new RespokeEndpointTokenRequestBody () {
appId = "get-from-respoke-dev-console",
appSecret = "get-from-respoke-dev-console",
endpointId = "your-clients-username",
roleId = "get-from-respoke-dev-console"
};
RespokeResponse resp = respoke.GetEndpointTokenId(reqParams);
Console.WriteLine(resp.body.tokenId);
// Return `resp.body.tokenId` to your client
```
# License
Copyright 2014, Digium, Inc. All rights reserved.
This source code is licensed under The MIT License found in the LICENSE file in the root directory of this source tree.
For all details and documentation: https://www.respoke.io