共用方式為


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

public AuthenticationTicket Ticket { get; set; }
public:
property AuthenticationTicket^ Ticket {
    AuthenticationTicket^ get();
    void set(AuthenticationTicket^ value);
}
member Ticket : AuthenticationTicket with get, set
Public Property Ticket As AuthenticationTicket

Property Value

Type: Microsoft.Owin.Security.AuthenticationTicket

Returns AuthenticationTicket.

See Also

CookieExceptionContext Class
Microsoft.Owin.Security.Cookies Namespace

Return to top