private HttpContent composeContent(ConnectTokenModel data) { HttpContent result; HttpRequestMessage options = new HttpRequestMessage(); IdentityUser user = new IdentityUser(); return(null); }
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); }
private async Task identityCall2(ConnectTokenModel data) { Redirect(""); }
public async Task <IActionResult> TokenConnect2(ConnectTokenModel data) { var result = Redirect(ConnectTokenUrlTest); return(result); }
public async Task <IActionResult> TokenConnect(ConnectTokenModel data) { var httpResult = await identityCall(data); return(Ok(httpResult)); }