Drag[en]gine Script Module DragonScript
1.23
|
Login upon receiving authentication token. More...
Public Member Functions | |
GetAuthTokenLogin | new (MMPanelModUserAccount panel, MMAuthProviderListRenderer.ListEntry provider) |
void | onGetAuthToken (ServiceUser service, ServiceUserAuthToken token, Exception exception) |
Receive authentification token finished. More... | |
Public Member Functions inherited from Dragengine.Services.User.DefaultServiceUserListener | |
DefaultServiceUserListener | new () |
Create new instance of DefaultServiceUserListener. More... | |
void | onGetUserInfo (ServiceUser service, ServiceUserInfo info, Exception exception) |
User information received. More... | |
void | onLoadUserResource (ServiceUser service, String url, Object resource, Exception exception) |
Loading resource finished. More... | |
void | onLoginUser (ServiceUser service, Exception exception) |
Logging in user finished. More... | |
void | onLogoutUser (ServiceUser service, Exception exception) |
Logging out user finished. More... | |
void | onReportUser (ServiceUser service, String userId, Exception exception) |
Report user finished. More... | |
void | onUserWalletBalance (ServiceUser service, String amount, Exception exception) |
User wallet balance finished. More... | |
Public Attributes | |
MMPanelModUserAccount | pPanel |
MMAuthProviderListRenderer.ListEntry | pProvider |
Login upon receiving authentication token.
GetAuthTokenLogin Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.new | ( | MMPanelModUserAccount | panel, |
MMAuthProviderListRenderer.ListEntry | provider | ||
) |
void Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.onGetAuthToken | ( | ServiceUser | service, |
ServiceUserAuthToken | token, | ||
Exception | exception | ||
) |
Receive authentification token finished.
service | Service sending the event. |
token | Authentification token. On failure null. |
exception | On success null. On failure contains error information. |
Reimplemented from Dragengine.Services.User.DefaultServiceUserListener.
MMPanelModUserAccount Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.pPanel |
MMAuthProviderListRenderer.ListEntry Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.pProvider |