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 | |
---|---|---|
Get<T>(IOwinContext) | Retrieves an object from the OwinContext using a key based on the AssemblyQualified type name. |
|
GetUserManager<TManager>(IOwinContext) | Gets the user manager from the context. |
|
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