Beispiel #1
0
        async Task SignUp()
        {
            AuthyUserResponse = await AuthyService.AddUser(CompanyUser);

            if (AuthyUserResponse != null)
            {
                AuthyOTPResponse = await AuthyService.SendOTP(AuthyUserResponse.User.Id);

                if (AuthyOTPResponse != null)
                {
                    NeedsVerification = AuthyOTPResponse.Success;
                }
            }
        }
Beispiel #2
0
 async Task VerifyToken()
 {
     AuthyVerifyResponse = await AuthyService.VerifyToken(Token, AuthyUserResponse.User.Id);
 }