Share via


IOwinContext Interface

This wraps OWIN environment dictionary and provides strongly typed accessors.

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

Syntax

'Declaration
Public Interface IOwinContext
'Usage
Dim instance As IOwinContext
public interface IOwinContext
public interface class IOwinContext
type IOwinContext =  interface end
public interface IOwinContext

The IOwinContext type exposes the following members.

Properties

  Name Description
Public property Authentication Gets the authentication middleware functionality available on the current request.
Public property Environment Gets the wrapped OWIN environment.
Public property Request Gets a wrapper exposing request specific properties.
Public property Response Gets a wrapper exposing response specific properties.
Public property TraceOutput Gets or sets the host.TraceOutput environment value.

Top

Methods

  Name Description
Public method Get<T> Gets a value from the OWIN environment, or returns default(T) if not present.
Public method Set<T> Sets the given key and value in the OWIN environment.

Top

See Also

Reference

Microsoft.Owin Namespace