Compare commits
No commits in common. "506955ca7c9a20d83d520d78280acc3341224e83" and "3354aa37f4fabc12946bf2f1ac036efcae827903" have entirely different histories.
506955ca7c
...
3354aa37f4
|
|
@ -2,10 +2,8 @@
|
||||||
using IdentityModel;
|
using IdentityModel;
|
||||||
using IdentityModel.Client;
|
using IdentityModel.Client;
|
||||||
using IRaCIS.Core.Application.Service.OAuth;
|
using IRaCIS.Core.Application.Service.OAuth;
|
||||||
using MassTransit;
|
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Builder;
|
using Microsoft.AspNetCore.Builder;
|
||||||
using Microsoft.AspNetCore.Http;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using NPOI.SS.Formula.Functions;
|
using NPOI.SS.Formula.Functions;
|
||||||
|
|
@ -210,16 +208,12 @@ namespace IRaCIS.Core.Application.Service
|
||||||
Console.WriteLine(tokenResponse);
|
Console.WriteLine(tokenResponse);
|
||||||
|
|
||||||
//结束回话
|
//结束回话
|
||||||
var parameters = new Parameters();
|
|
||||||
|
|
||||||
parameters.Add("clientId", "aj34vqrpvz8olsbxwtcog");
|
var endUrl = new RequestUrl(disco.EndSessionEndpoint).CreateEndSessionUrl(tokenResponse.IdToken, "http://localhost:6100/OAuth/TestPCKEOrgin");
|
||||||
var endUrl = new RequestUrl(disco.EndSessionEndpoint).CreateEndSessionUrl(tokenResponse.IdToken, "http://localhost:6100/OAuth/TestPCKEOrgin", extra: parameters);
|
|
||||||
|
|
||||||
|
var _endHttpClient = new HttpClient();
|
||||||
|
|
||||||
Results.Redirect(endUrl);
|
var dd = await _endHttpClient.GetAsync(endUrl);
|
||||||
//var _endHttpClient = new HttpClient();
|
|
||||||
|
|
||||||
//var dd = await _endHttpClient.GetAsync(endUrl);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue