last ...
This commit is contained in:
+17
-13
@@ -1,25 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using xServices.DI;
|
||||
using System.Net.Http;
|
||||
using System.Reflection;
|
||||
using IdentityModel.AspNetCore.OAuth2Introspection;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.Server.Kestrel.Core;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Serialization;
|
||||
using xApi.Extensions;
|
||||
using xCommons.Configurations;
|
||||
using xHttpService.DI;
|
||||
using System.Reflection;
|
||||
using xCommons.Extensions;
|
||||
using xDataService.Models;
|
||||
using xHttpService.DI;
|
||||
using xIdentityService.DI;
|
||||
using xServices.Databases;
|
||||
using xServices.DI;
|
||||
using xCommons.Configurations;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using xIdentityService.Middlewares;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Newtonsoft.Json.Serialization;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.AspNetCore.Server.Kestrel.Core;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using IdentityModel.AspNetCore.OAuth2Introspection;
|
||||
|
||||
namespace xApi
|
||||
{
|
||||
@@ -141,6 +142,9 @@ namespace xApi
|
||||
//
|
||||
app.UseRouting();
|
||||
|
||||
//
|
||||
app.UseXApiKeyUsage();
|
||||
|
||||
//
|
||||
// Use xIdentityService ...
|
||||
app.UseXIdentityService();
|
||||
|
||||
Reference in New Issue
Block a user