https://github.com/stormpath/stormpath-csharp-sample
Sample application to use Stormpath from C#.
https://github.com/stormpath/stormpath-csharp-sample
Last synced: 7 months 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T23:52:31.000Z (over 8 years ago)
- Last Synced: 2025-04-30T05:04:47.607Z (7 months ago)
- Language: C#
- Homepage:
- Size: 3.3 MB
- Stars: 3
- Watchers: 3
- 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 [support@stormpath.com](mailto:support@stormpath.com).
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. The Main method is in the Program 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 the apiKey.properties file is in: $HOME/Stormpath/apiKey.properties
1. If the apiKey.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 the Main method.
But it should look like:
```
apiKey.id=THEAPIKEYIDVALUE
apiKey.secret=THEAPIKEYSECRETVALUE
```