Authentication Session
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 session
Events
OnStartCallback
A delegate to be called when the authentication session response is returned by Valve.
Fields and Attributes
IsClientSession
Is this session object related to a client or server session, this is generally only relevant internally to Heathen's tools.
User
The user this session is related to
GameOwner
The user that owns the game, is generally the same as User, if it is not it means the User is borrowing the game such as via Family Sharing.
Data
The session data, aka the ticket itself
Response
The response received when validating a provided ticket.
IsBarrowed
Indicates the owner and user are not the same.
Methods
Constructor
userId This is the anticipated user that this session is for
callback This is a delegate to be invoked when the session response is available
isClient is this a client session or server session, in P2P its always a client session.
End
Ends this session
Last updated