C# Class Stormpath.AspNetCore.StormpathMiddlewareExtensions

ファイルを表示 Open project: stormpath/stormpath-aspnetcore

Public Methods

Method Description
AddStormpath ( this services ) : IServiceCollection

Adds services required for Stormpath.

AddStormpath ( this services, Stormpath.Configuration.Abstractions.StormpathConfiguration configuration ) : IServiceCollection

Adds services required for Stormpath.

AddStormpath ( this services, StormpathOptions options ) : IServiceCollection

Adds services required for Stormpath.

AddStormpath ( this services, object anonymousConfiguration ) : IServiceCollection

Adds services required for Stormpath.

UseStormpath ( this app ) : IApplicationBuilder

Adds the Stormpath middleware to the pipeline.

You must call AddStormpath before calling this method.

Private Methods

Method Description
AddStormpath ( IServiceCollection services, StormpathOwinOptions options ) : IServiceCollection
GetLibraryUserAgent ( Assembly hostingAssembly ) : string

Method Details

AddStormpath() public static method

Adds services required for Stormpath.
There was a problem initializing Stormpath.
public static AddStormpath ( this services ) : IServiceCollection
services this The .
return IServiceCollection

AddStormpath() public static method

Adds services required for Stormpath.
There was a problem initializing Stormpath.
public static AddStormpath ( this services, Stormpath.Configuration.Abstractions.StormpathConfiguration configuration ) : IServiceCollection
services this The .
configuration Stormpath.Configuration.Abstractions.StormpathConfiguration Configuration for the Stormpath middleware.
return IServiceCollection

AddStormpath() public static method

Adds services required for Stormpath.
There was a problem initializing Stormpath.
public static AddStormpath ( this services, StormpathOptions options ) : IServiceCollection
services this The .
options StormpathOptions Extended configuration for the Stormpath middleware.
return IServiceCollection

AddStormpath() public static method

Adds services required for Stormpath.
There was a problem initializing Stormpath.
public static AddStormpath ( this services, object anonymousConfiguration ) : IServiceCollection
services this The .
anonymousConfiguration object Configuration for the Stormpath middleware.
return IServiceCollection

UseStormpath() public static method

Adds the Stormpath middleware to the pipeline.
You must call AddStormpath before calling this method.
The Stormpath services have not been added to the service collection.
public static UseStormpath ( this app ) : IApplicationBuilder
app this The .
return IApplicationBuilder