public async Task SignUpAsync()

in Assets/Scripts/GameAuth.cs [72:100]


    public async Task<bool> SignUpAsync(string userName, string password, string email)
    {
        try
        {
            var provider = new AmazonCognitoIdentityProviderClient(new AnonymousAWSCredentials(), RegionEndpoint.APNortheast2);

            SignUpRequest signUpRequest = new SignUpRequest()
            {
                ClientId = GamePlayManager.Singleton.CLIENT_ID,
                Username = userName,
                Password = password
            };
            signUpRequest.UserAttributes.Add(new Amazon.CognitoIdentityProvider.Model.AttributeType()
            {
                Name = "email",
                Value = email
            });

            SignUpResponse signUpResponse = await provider.SignUpAsync(signUpRequest).ConfigureAwait(false);
            //provider.ConfirmSignUpAsync()         //TODO : It is able to implement confirmation logic
            Debug.Log(signUpResponse.ResponseMetadata);
            return signUpResponse.UserConfirmed;
        }
        catch (System.Exception e)
        {
            Debug.Log(e);
            return false;
        }
    }