Пример #1
0
        public async Task GetUserInfoAsync(GetUserInfoRequest request)
        {
            await EnsureInGroupAsync(request);

            var response = await _service.GetUserInfoAsync(request);

            SendGroupResponse(response);
        }
Пример #2
0
        public async Task <HttpResponseMessage> GetUserInfoAsync(string accessToken)
        {
            var request = new GetUserInfoRequest
            {
                AccessToken = accessToken
            };
            var response = await _service.GetUserInfoAsync(request);

            return(Request.CreateResponse(response));
        }