Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stormpath/stormpath-csharp-sample
Sample application to use Stormpath from C#.
https://github.com/stormpath/stormpath-csharp-sample
Last synced: about 1 month ago
JSON representation
Sample application to use Stormpath from C#.
- Host: GitHub
- URL: https://github.com/stormpath/stormpath-csharp-sample
- Owner: stormpath
- Created: 2014-03-06T22:11:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T23:52:31.000Z (almost 8 years ago)
- Last Synced: 2024-04-13T23:01:29.607Z (9 months ago)
- Language: C#
- Homepage:
- Size: 3.3 MB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Stormpath is Joining Okta
We are incredibly excited to announce that [Stormpath is joining forces with Okta](https://stormpath.com/blog/stormpaths-new-path?utm_source=github&utm_medium=readme&utm-campaign=okta-announcement). Please visit [the Migration FAQs](https://stormpath.com/oktaplusstormpath?utm_source=github&utm_medium=readme&utm-campaign=okta-announcement) for a detailed look at what this means for Stormpath users.We're available to answer all questions at [[email protected]](mailto:[email protected]).
stormpath-csharp-sample
=======================This sample application shows how to make calls to [Stormpath](https://stormpath.com) from C#, using the [RestSharp](http://restsharp.org/) library.
Some comments for the people that will use this project:
1. It is a C# project for Visual Studio.
1. TheMain
method is in theProgram
class.
1. It uses two external libraries: RestSharp (REST/HTTP library) and Json.NET (Json serializer).
1. The CSV file,accounts_to_import.csv
, that contains the accounts to be imported is configured to always be copied to the output directory of this project.
1. It assumes that theapiKey.properties
file is in:$HOME/Stormpath/apiKey.properties
1. If theapiKey.properties
file is downloaded in Windows, it will need a new line right before the *apiKey.secret* section. Looks like the new line doesn't work automatically for Windows. It will look something like:
apiKey.id=THEAPIKEYIDVALUEapiKey.secret=THEAPIKEYSECRETVALUE
1. If tou want to remove from Stormpath what the application creates, uncomment the last few lines of theMain
method.But it should look like:
```
apiKey.id=THEAPIKEYIDVALUE
apiKey.secret=THEAPIKEYSECRETVALUE
```