CookieExceptionContext.Ticket Property

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.

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

Syntax

'Declaration
Public Property Ticket As AuthenticationTicket 
    Get 
    Set
'Usage
Dim instance As CookieExceptionContext 
Dim value As AuthenticationTicket 

value = instance.Ticket

instance.Ticket = value
public AuthenticationTicket Ticket { get; set; }
public:
property AuthenticationTicket^ Ticket {
    AuthenticationTicket^ get ();
    void set (AuthenticationTicket^ value);
}
member Ticket : AuthenticationTicket with get, set
function get Ticket () : AuthenticationTicket 
function set Ticket (value : AuthenticationTicket)

Property Value

Type: Microsoft.Owin.Security.AuthenticationTicket
Returns AuthenticationTicket.

See Also

Reference

CookieExceptionContext Class

Microsoft.Owin.Security.Cookies Namespace