Exemplo n.º 1
0
 public void Authenticate(System.Action <bool> callback)
 {
     if (m_impl != null)
     {
         m_impl.Authenticate(callback);
     }
 }
Exemplo n.º 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);
                    }
                });
            }
        }