mDatabaseAuth

Summary

Database authentication support class. Supports anonymous login and Auth login. Available when mDatabaseCore.Initialize( ) has been executed.

Relation

mTask

Variable

Status.NotLogin The not login
Status.AnonymousLogin The anonymous login
Status.AuthLogging The process of login
Status.AuthLoggedin The end of login
Status.AuthLinking The process of linking

Property

Instance Database authentication support class. Supports anonymous login and Auth login. Available when mDatabaseCore.Initialize( ) has been executed.
IsInitialized Gets a value indicating whether this instance is initialized.
IsLoggedin Gets a value indicating whether this user is loggedin.
LoginStatus Gets or sets the login status.
AccessToken Gets the access token.
msgToken Acquired GCM message token.
UID User UID. UID is a unique user ID generated when authenticating Database. It is necessary to conceal such that the user does not know.
ID User ID. ID is an ID to be disclosed between users. Use for friend code etc.

Method

GetResult( ) Gets the result.
Initialize(System.Func{System.String,System.String},System.Func{UnityEngine.SystemLanguage,System.String}) Initialization the database authentication.
LoginAndUserCreate(System.Func{System.String,System.String},System.Func{System.String,System.String},System.Int32) Login and User creation.
LinkAuthAndUserCreate(System.Func{System.String,System.String},System.Func{System.String,System.String},System.Int32) Linking to auth and User creation.
Login( ) Login. Automatically select AuthLogin or anonymous login according to the adapter setting.
CreateUserOnDatabase(System.Func{System.String,System.String},System.Func{System.String,System.String},System.Int32) Create a new user. Condition that it is logged in.
Logout( ) Log out and anonymous login.
LinkAuth( ) Link to Auth Authentication from anonymous login.
Abort(System.String) Terminate task

Reference