Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

ModIO.UserAuthenticationData

Jackson Wood edited this page Mar 6, 2019 · 3 revisions

UserAuthenticationData

struct in ModIO

Description

A singleton struct that is referenced by multiple classes for user authentication.

Constant Properties

Name Description
NONE An instance of UserAuthenticationData with zeroed fields.
FILE_LOCATION Location of the settings file.

Static Properties

Name Description
instance Singleton instance to be used as the current/active data.

Properties

Name Description
userId User Id associated with the stored OAuthToken.
token User authentication token to send with API requests identifying the user.

Static Methods

Name Description
Clear Clears the instance and deletes the data on disk.
Clone this wiki locally