property OnGetPasswordByTicketName: TScGetPasswordByTicketNameEvent;
type
TScGetPasswordByTicketNameEvent = procedure (Sender: TObject; const Ticket: TBytes; out Password: TBytes) of object;
Description
Occurs when the client resumes a session using New Session Ticket to get the password that was used to encrypt the contents of the ticket.
A New Session Ticket can be initialized automatically or manually in the OnCreateNewSessionTicket event. When OnCreateNewSessionTicket is not set, a ticket will be initialized automatically.
When a ticket is created automatically, the contents of the ticket should be encrypted. If a user wants to set its own password, it can do it the event handler OnGetTicketNameAndPassword. The OnGetPasswordByTicketName event, which will be triggered to decode the session state, should return Password for Ticket.