View Source
Class UmbracoDefaultOwinStartup
The default way to configure OWIN for Umbraco
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public class UmbracoDefaultOwinStartup
Properties
View Source
GlobalSettings
Declaration
protected IGlobalSettings GlobalSettings { get; }
Property Value
View Source
Mapper
Declaration
protected UmbracoMapper Mapper { get; }
Property Value
View Source
RuntimeState
Declaration
protected IRuntimeState RuntimeState { get; }
Property Value
View Source
Services
Declaration
protected ServiceContext Services { get; }
Property Value
View Source
UmbracoContextAccessor
Declaration
protected IUmbracoContextAccessor UmbracoContextAccessor { get; }
Property Value
View Source
UmbracoSettings
Declaration
protected IUmbracoSettingsSection UmbracoSettings { get; }
Property Value
Methods
View Source
Configuration(IAppBuilder)
Declaration
public virtual void Configuration(IAppBuilder app)
Parameters
Type |
Name |
Description |
IAppBuilder |
app |
|
View Source
Configures middleware to be used (i.e. app.Use...)
Declaration
protected virtual void ConfigureMiddleware(IAppBuilder app)
Parameters
Type |
Name |
Description |
IAppBuilder |
app |
|
View Source
ConfigureServices(IAppBuilder, ServiceContext)
Configures services to be created in the OWIN context (CreatePerOwinContext)
Declaration
protected virtual void ConfigureServices(IAppBuilder app, ServiceContext services)
Parameters
View Source
Configure external/OAuth login providers
Declaration
protected virtual void ConfigureUmbracoAuthentication(IAppBuilder app)
Parameters
Type |
Name |
Description |
IAppBuilder |
app |
|
View Source
Configure the Identity user manager for use with Umbraco Back office
Declaration
protected virtual void ConfigureUmbracoUserManager(IAppBuilder app)
Parameters
Type |
Name |
Description |
IAppBuilder |
app |
|
Events
View Source
Declaration
public static event EventHandler<OwinMiddlewareConfiguredEventArgs> MiddlewareConfigured
Event Type