IOwinContext Interface
This wraps OWIN environment dictionary and provides strongly typed accessors.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
public interface IOwinContext
public interface class IOwinContext
type IOwinContext = interface end
Public Interface IOwinContext
Name | Description | |
---|---|---|
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. |
Name | Description | |
---|---|---|
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. |
Return to top