Exemple #1
0
        public async void Update(object sender, CheckCognitoDetectionEventArgs e)
        {
            string email    = "*****@*****.**";
            string password = "******";

            CognitoUserManager cognito = new CognitoUserManager();
            var token = cognito.Login(email, password);

            if (token != null)
            {
            }
        }
Exemple #2
0
 private void OnCheckCognitoDetection(CheckCognitoDetectionEventArgs e)
 {
     CheckCognitoDetector?.Invoke(this, e);
 }