mDatabaseAuth

Summary

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

Relation

mTask

Variable

Status.NotLogin The not login
Status.AnonymousLogin The anonymous login
Status.GoogleLogging The process of google login
Status.GoogleLoggedin The end of google login
Status.GoogleLinking The process of google linking

Property

Instance Database authentication support class. Supports anonymous login and Google 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

Initialize(System.Func{System.String,System.String},System.Func{UnityEngine.SystemLanguage,System.String}) Initialization the database authentication.
LoginAndUserCreate(System.Func{System.String},System.Func{System.String,System.String},System.Int32) Login and User creation.
LinkGoogleAndUserCreate(System.Func{System.String},System.Func{System.String,System.String},System.Int32) Linking to google and User creation.
Login( ) Login. Automatically select GoogleLogin or anonymous login according to the adapter setting.
CreateUserOnDatabase(System.Func{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.
LinkGoogle( ) Link to Google Authentication from anonymous login.

Reference