-
Notifications
You must be signed in to change notification settings - Fork 0
newgroundsiodotnet.datamodels.session
GlitchyPSIX edited this page Mar 30, 2025
·
4 revisions
Namespace: NewgroundsIODotNet.DataModels
Represents a user's session.
public struct Session
Inheritance Object → ValueType → Session
If true, the session_id is expired. Use App.startSession to get a new one.
public bool Expired { get; }
A unique session identifier
public string Id { get; set; }
If the session has no associated user but is not expired, this property will provide a URL that can be used to sign the user in.
public string PassportUrl { get; }
If true, the user would like you to remember their session id.
public bool RememberSession { get; }
The user associated with the session.
public Nullable<User> User { get; }
Session(bool expired, string id, string passportUrl, bool rememberSession, Nullable<User> user)
expired
Boolean
id
String
passportUrl
String
rememberSession
Boolean
user
Nullable<User>