Example #1
0
        public virtual void LoadExternalAuthenticationCredentials(LoadExternalAuthenticationCredentialsCompletion _onCompletion)
        {
            LoadExternalAuthenticationCredentialsFinishedEvent = _onCompletion;

            if (!VerifyUser())
            {
                LoadExternalAuthenticationCredentialsFinished(null, Constants.kGameServicesUserAuthMissingError);
                return;
            }
        }
Example #2
0
        public override void LoadExternalAuthenticationCredentials(LoadExternalAuthenticationCredentialsCompletion _onCompletion)
        {
            base.LoadExternalAuthenticationCredentials(_onCompletion);

            // Verify auth status
            if (!VerifyUser())
            {
                return;
            }

            LoadExternalAuthenticationCredentialsFinished(null, Constants.kNotSupportedInEditor);
        }
Example #3
0
        public override void LoadExternalAuthenticationCredentials(LoadExternalAuthenticationCredentialsCompletion _onCompletion)
        {
            base.LoadExternalAuthenticationCredentials(_onCompletion);

            // Verify auth status
            if (!VerifyUser())
            {
                return;
            }

            // Native method call
            Plugin.Call(Native.Methods.LOAD_EXTERNAL_AUTHENTICATION_DETAILS, NPSettings.GameServicesSettings.Android.ServerClientID);
        }