AppBuilderExtensions Class

 

Represents the extensions of IAppBuilder that configures the SignInCookies.

Namespace:   Owin
Assembly:  Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)

System.Object
  Owin.AppBuilderExtensions

public static class AppBuilderExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreatePerOwinContext<T>(IAppBuilder, Func<T>)

Registers a callback that will be invoked to create an instance of type T that will be stored in the OwinContext which can fetch via context.Get.

System_CAPS_pubmethodSystem_CAPS_staticCreatePerOwinContext<T>(IAppBuilder, Func<IdentityFactoryOptions<T>, IOwinContext, T>)

Registers a callback that will be invoked to create an instance of type T that will be stored in the OwinContext which can fetch via context.Get.

System_CAPS_pubmethodSystem_CAPS_staticCreatePerOwinContext<T>(IAppBuilder, Func<IdentityFactoryOptions<T>, IOwinContext, T>, Action<IdentityFactoryOptions<T>, T>)

Registers a callback that will be invoked to create an instance of type T that will be stored in the OwinContext which can fetched via context.Get

System_CAPS_pubmethodSystem_CAPS_staticUseExternalSignInCookie(IAppBuilder)

Configures the application to use OWIN middleware based cookie authentication for external identities.

System_CAPS_pubmethodSystem_CAPS_staticUseExternalSignInCookie(IAppBuilder, String)

Configures the application to use OWIN middleware based cookie authentication for external identities.

System_CAPS_pubmethodSystem_CAPS_staticUseOAuthBearerTokens(IAppBuilder, OAuthAuthorizationServerOptions)

Configures the application to use OWIN middleware based OAuth bearer tokens.

System_CAPS_pubmethodSystem_CAPS_staticUseTwoFactorRememberBrowserCookie(IAppBuilder, String)

Configures a cookie intended to be used to store whether two factor authentication has been done already.

System_CAPS_pubmethodSystem_CAPS_staticUseTwoFactorSignInCookie(IAppBuilder, String, TimeSpan)

Configures a cookie intended to be used to store the partial credentials for two factor authentication.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: