This class does not provide access to any Daz 3D user account information which could be considered an invasion of the user's the privacy. This class does provide plugins and scripts with an ability to check if a user has authenticated (logged in to) a Daz 3D account, to prompt a user to authenticate (login to) their Daz 3D account, to obtain a token that uniquely and anonymously identifies the current/last account authenticated, and to logout of an account that is currently logged in.
There is only one instance of this manager in an application. This instance is created and owned by DzApp. Do not create an instance of this class, rather request the instance from DzApp via DzApp::getAuthenticationMgr().
This function will attempt to authenticate a Daz 3D user account. If no account information has been entered by the user, a dialog will be displayed to securely acquire the username and password to be authenticated.
trueif the user was authenticated, otherwise
trueif the user is authenticated (currently logged in), otherwise
trueif in process of logging in, otherwise
false. The event queue must execute to finish login.
void : logout()
Invalidates any existing authentication.
void : beginLogin()
Emitted when the user begins to login to a Daz 3D account.
void : beginLogout()
Emitted when the user begins to log out of a Daz 3D account.
void : currentAccountChanged()
Emitted when the current Daz 3D account in use changes.
void : loggedIn()
Emitted after the user has successfully logged in to a Daz 3D account.
void : loggedOut()
Emitted after the user has successfully logged out of a Daz 3D account.