Skip to content

stormpath/stormpath-dotnet-config

Repository files navigation

stormpath-dotnet-config Build status

Stormpath configuration loader for .NET

This library is responsible for loading the Stormpath configuration. It is an internal module used by the Stormpath .NET SDK and ASP.NET integration, and is not meant for general consumption.

Installing

install-package Stormpath.Configuration

Usage

To load the default configuration:

var configuration = ConfigurationLoader.Load();

To load the default configuration and override specific items:

var configuration = ConfigurationLoader.Load(new StormpathConfiguration()
{
  Client = new ClientConfiguration()
  {
    ApiKey = new ClientApiKeyConfiguration()
    {
      File = "path\\to\\apiKey.properties",
    }
  }
});

Support

This library is maintained by Stormpath. If you have trouble using it, please reach out to [email protected].