Exemple #1
0
 public void Authenticate(System.Action <bool> callback)
 {
     if (m_impl != null)
     {
         m_impl.Authenticate(callback);
     }
 }
Exemple #2
0
        public void Authenticate(System.Action <bool> callback)
        {
            if (m_impl != null)
            {
                m_impl.Authenticate(success =>
                {
                    if (Authenticated != null)
                    {
                        Authenticated(success);
                    }

                    if (callback != null)
                    {
                        callback(success);
                    }
                });
            }
        }