Example #1
0
        private HttpContent composeContent(ConnectTokenModel data)
        {
            HttpContent        result;
            HttpRequestMessage options = new HttpRequestMessage();
            IdentityUser       user    = new IdentityUser();

            return(null);
        }
Example #2
0
        private async Task <HttpResponseMessage> identityCall(ConnectTokenModel data)
        {
            var client = new HttpClient();
            //var res = await client.PostAsJsonAsync(ConnectTokenUrlTest, data);

            var res = await client.PostAsync(ConnectTokenUrlTest, new StreamContent(Request.Body));

            return(res);
        }
Example #3
0
 private async Task identityCall2(ConnectTokenModel data)
 {
     Redirect("");
 }
Example #4
0
        public async Task <IActionResult> TokenConnect2(ConnectTokenModel data)
        {
            var result = Redirect(ConnectTokenUrlTest);

            return(result);
        }
Example #5
0
        public async Task <IActionResult> TokenConnect(ConnectTokenModel data)
        {
            var httpResult = await identityCall(data);

            return(Ok(httpResult));
        }