OwinContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This wraps OWIN environment dictionary and provides strongly typed accessors.
public class OwinContext : Microsoft.Owin.IOwinContext
type OwinContext = class
interface IOwinContext
Public Class OwinContext
Implements IOwinContext
- Inheritance
-
OwinContext
- Implements
Constructors
OwinContext() |
Create a new context with only request and response header collections. |
OwinContext(IDictionary<String,Object>) |
Create a new wrapper. |
Properties
Authentication |
Gets the Authentication middleware functionality available on the current request. |
Environment |
Gets the OWIN environment. |
Request |
Gets a wrapper exposing request specific properties. |
Response |
Gets a wrapper exposing response specific properties. |
TraceOutput |
Gets or sets the host.TraceOutput environment value. |
Methods
Get<T>(String) |
Gets a value from the OWIN environment, or returns default(T) if not present. |
Set<T>(String, T) |
Sets the given key and value in the OWIN environment. |