Drag[en]gine Script Module DragonScript  1.23
Dragengine.Services.User.ServiceUserFeatures Class Reference

Features supported by a ServiceUser instance. More...

Inheritance diagram for Dragengine.Services.User.ServiceUserFeatures:

Classes

class  AuthTokenProvider
 Authentication token provider information. More...
 

Public Member Functions

ServiceUserFeatures new ()
 Create new instance of class ServiceUserFeatures. More...
 

Public Attributes

AuthTokenProvider authTokenProvider
 Authentication token provider information. More...
 
Set canAuthProviderLogin
 Service supports logging in using authentication provider. More...
 
bool canAutomaticLogin
 Service supports automatic logging in user. More...
 
bool canLogout
 Service supports logging out user. More...
 
bool canManualLogin
 Service supports manually logging in user. More...
 
bool canReportUser
 Reporting users is supported. More...
 
String currency
 Monetization currency name. More...
 
bool hasMarketplace
 Monetization is supported using marketplace or store functionality. More...
 

Detailed Description

Features supported by a ServiceUser instance.

Version
1.23

Member Function Documentation

◆ new()

ServiceUserFeatures Dragengine.Services.User.ServiceUserFeatures.new ( )

Create new instance of class ServiceUserFeatures.

Member Data Documentation

◆ authTokenProvider

AuthTokenProvider Dragengine.Services.User.ServiceUserFeatures.authTokenProvider

Authentication token provider information.

Present if service supports requesting authentication. If service does not support requesting authentication tokens this will be null.

◆ canAuthProviderLogin

Set Dragengine.Services.User.ServiceUserFeatures.canAuthProviderLogin

Service supports logging in using authentication provider.

Set contains strings of all supported login providers. The values in this set match authTokenProvider values of other service feature object.

Set can be null or empty if service does not support logging in using authentication providers.

◆ canAutomaticLogin

bool Dragengine.Services.User.ServiceUserFeatures.canAutomaticLogin

Service supports automatic logging in user.

◆ canLogout

bool Dragengine.Services.User.ServiceUserFeatures.canLogout

Service supports logging out user.

◆ canManualLogin

bool Dragengine.Services.User.ServiceUserFeatures.canManualLogin

Service supports manually logging in user.

◆ canReportUser

bool Dragengine.Services.User.ServiceUserFeatures.canReportUser

Reporting users is supported.

◆ currency

String Dragengine.Services.User.ServiceUserFeatures.currency

Monetization currency name.

If hasMarketplace is true contains the currency name which can be a real currency code or a virtual currency name.

◆ hasMarketplace

bool Dragengine.Services.User.ServiceUserFeatures.hasMarketplace

Monetization is supported using marketplace or store functionality.

If true user has a wallet for store purchases.


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