Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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#.

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. 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
```