OwinContextExtensions Class

 

Represents extension methods for OwinContext.

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

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.Identity.Owin.OwinContextExtensions

Syntax

public static class OwinContextExtensions
[ExtensionAttribute]
public ref class OwinContextExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type OwinContextExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class OwinContextExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static Get<T>(IOwinContext)

Retrieves an object from the OwinContext using a key based on the AssemblyQualified type name.

System_CAPS_pubmethodSystem_CAPS_static GetUserManager<TManager>(IOwinContext)

Gets the user manager from the context.

System_CAPS_pubmethodSystem_CAPS_static Set<T>(IOwinContext, T)

Stores an object in the OwinContext using a key based on the AssemblyQualified type name.

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

Microsoft.AspNet.Identity.Owin Namespace
ASP.NET Identity

Return to top