Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin Class Reference

Login upon receiving authentication token. More...

Inheritance diagram for Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin:
Dragengine.Services.User.DefaultServiceUserListener Dragengine.Services.User.ServiceUserListener

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
 

Detailed Description

Login upon receiving authentication token.

Member Function Documentation

◆ new()

GetAuthTokenLogin Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.new ( MMPanelModUserAccount  panel,
MMAuthProviderListRenderer.ListEntry  provider 
)

◆ onGetAuthToken()

void Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.onGetAuthToken ( ServiceUser  service,
ServiceUserAuthToken  token,
Exception  exception 
)

Receive authentification token finished.

Parameters
serviceService sending the event.
tokenAuthentification token. On failure null.
exceptionOn success null. On failure contains error information.

Reimplemented from Dragengine.Services.User.DefaultServiceUserListener.

Member Data Documentation

◆ pPanel

MMPanelModUserAccount Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.pPanel

◆ pProvider

MMAuthProviderListRenderer.ListEntry Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.pProvider

The documentation for this class was generated from the following file: