Authentication Ticket
Like what you're seeing?
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Introduction
Used by the Authentication interface to represent an active authentication ticket
Events
Callback
A delegate to be invoked when the ticket is ready for use.
Example handler
Fields and Attributes
IsClientTicket
Indicates this ticket is being managed by a client or server
Handle
The authentication handle associated with this ticket
Data
The ticket data of this ticket is what should be sent to whoever it is that will be calling BeginSession for this ticket.
Verified
Has this ticket been verified, this gets set to true when the Get Authentication Session response comes back from the Valve's backend.
CreatedOn
The Steamworks DateTime this ticket was created ... this is Linux Epoc time e.g. the number of seconds since Jan 1 1970. In general, you do not need to bother with this we use it to calculate the ticket age for you in the Age field.
Result
The result of the ticket
Methods
Constructor
The above: constructs a new ticket given a particular identity. The identity should be the User or Game Server that this ticket will be used by. Note that a lobby is not a server.
The above: constructs a new ticket given existing ticket data
The above: constructs a new ticket for a web identity, this string can be empty and is defined by the web service that will be using the ticket.
Cancel
Cancels this ticket
Last updated