Skip to content

stormpath/stormpath-dotnet-config

Repository files navigation

Stormpath is Joining Okta

We are incredibly excited to announce that Stormpath is joining forces with Okta. Please visit the Migration FAQs for a detailed look at what this means for Stormpath users.

We're available to answer all questions at [email protected].

Migration Guide

The list of breaking changes in this configuration library is in the changelog.

See the Migration Guide for instructions on migrating an application from Stormpath to Okta.

Stormpath .NET Configuration

This library is responsible for loading and representing the Stormpath SDK configuration. It is an internal module used by the Stormpath .NET SDK and OWIN middleware components.

Installing

install-package Stormpath.Configuration

Usage

To load the default configuration:

var configuration = ConfigurationLoader.Initialize().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].