ParseSession
public protocol ParseSession : ParseObject
ParseSession
is a local representation of a session.
This protocol conforms to ParseObject
and retains the
same functionality.
-
The session token for this session.
Declaration
Swift
var sessionToken: String { get }
-
The user the session is for.
Declaration
Swift
var user: SessionUser { get }
-
Whether the session is restricted.
Warning
This will be deprecated in newer versions of Parse Server.Declaration
Swift
var restricted: Bool? { get }
-
Information about how the session was created.
Declaration
Swift
var createdWith: [String : String] { get }
-
Referrs to the
ParseInstallation
where the session logged in from.Declaration
Swift
var installationId: String { get }
-
Approximate date when this session will automatically expire.
Declaration
Swift
var expiresAt: Date { get }
-
className
Extension methodDeclaration
Swift
static var className: String { get }