Share via


AppBuilderExtensions Class

Extensions off of IAppBuilder to make it easier to configure the SignInCookies

Inheritance Hierarchy

System.Object
  Owin.AppBuilderExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class AppBuilderExtensions
'Usage
public static class AppBuilderExtensions
[ExtensionAttribute]
public ref class AppBuilderExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type AppBuilderExtensions =  class end
public final class AppBuilderExtensions

The AppBuilderExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member UseExternalSignInCookie(IAppBuilder) Configure the app to use owin middleware based cookie authentication for external identities
Public methodStatic member UseExternalSignInCookie(IAppBuilder, String) Configure the app to use owin middleware based cookie authentication for external identities
Public methodStatic member UseOAuthBearerTokens Configure the app to use owin middleware based oauth bearer tokens

Top

Thread Safety

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

See Also

Reference

Owin Namespace