CookieExceptionContext Class
Context object passed to the ICookieAuthenticationProvider method Exception.
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Provider.BaseContext<TOptions>
Microsoft.Owin.Security.Cookies.CookieExceptionContext
Syntax
public class CookieExceptionContext : BaseContext<CookieAuthenticationOptions>
public ref class CookieExceptionContext : BaseContext<CookieAuthenticationOptions^>
type CookieExceptionContext =
class
inherit BaseContext<CookieAuthenticationOptions>
end
Public Class CookieExceptionContext
Inherits BaseContext(Of CookieAuthenticationOptions)
Constructors
Name | Description | |
---|---|---|
CookieExceptionContext(IOwinContext, CookieAuthenticationOptions, CookieExceptionContext.ExceptionLocation, Exception, AuthenticationTicket) | Creates a new instance of the context object. |
Properties
Name | Description | |
---|---|---|
Exception | The exception thrown. |
|
Location | The code path the exception occurred in. |
|
Options | (Inherited from BaseContext<TOptions>.) |
|
OwinContext | (Inherited from BaseContext<TOptions>.) |
|
Request | (Inherited from BaseContext<TOptions>.) |
|
Response | (Inherited from BaseContext<TOptions>.) |
|
Rethrow | True if the exception should be re-thrown (default), false if it should be suppressed. |
|
Ticket | The current authentication ticket, if any. In the AuthenticateAsync code path, if the given exception is not re-thrown then this ticket will be returned to the application. The ticket may be replaced if needed. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
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.Owin.Security.Cookies Namespace
Return to top