DAZ Script | |
---|---|
Boolean | authenticateUser () |
String | getUserToken () |
Boolean | isAuthenticated () |
Boolean | isLoggingIn () |
void | logout () |
void | beginLogin () |
void | beginLogout () |
void | currentAccountChanged () |
void | loggedIn () |
void | loggedOut () |
This class does not provide access to any Daz 3D user account information which could be considered an invasion of the user's 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. Request the instance via DzApp::getAuthenticationMgr().
See Also:
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.
Return Value:
true
if the user was authenticated, otherwise false
.String : getUserToken()
Return Value:
Attention:
See Also:
Return Value:
true
if the user is authenticated (currently logged in), otherwise false
.Boolean : isLoggingIn()
Return Value:
true
if in process of logging in, otherwise false
. The event queue must execute to finish login.Since:
void : logout()
Invalidates any existing authentication.
void : beginLogin()
Signature:“beginLogin()”
Emitted when the user begins to login to a Daz 3D account.
void : beginLogout()
Signature:“beginLogout()”
Emitted when the user begins to log out of a Daz 3D account.
void : currentAccountChanged()
Signature:“currentAccountChanged()”
Emitted when the current Daz 3D account in use changes.
void : loggedIn()
Signature:“loggedIn()”
Emitted after the user has successfully logged in to a Daz 3D account.
void : loggedOut()
Signature:“loggedOut()”
Emitted after the user has successfully logged out of a Daz 3D account.