Example #1
0
        public async Task <JObject> Login(UserSignDTO userSignDTO)
        {
            JObject responseJson = null;

            try
            {
                responseJson = await _authenticationService.AcquireAccessToken
                                   (_serverAddresses.Addresses.FirstOrDefault(), userSignDTO.Telephone, userSignDTO.Password);
            }
            catch (Exception ex)
            {
                this._logger.LogError("An exception occured,the exception message:" + ex.Message);
            }
            return(responseJson);
        }