|
|
@ -71,6 +71,7 @@ using Microsoft.AspNetCore.Authentication.Cookies; |
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
|
using Microsoft.AspNetCore.Authentication.OpenIdConnect; |
|
|
|
using Microsoft.AspNetCore.Authentication.OpenIdConnect; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
|
|
|
|
using Microsoft.AspNetCore.DataProtection; |
|
|
|
using Microsoft.AspNetCore.HttpOverrides; |
|
|
|
using Microsoft.AspNetCore.HttpOverrides; |
|
|
|
using Microsoft.AspNetCore.StaticFiles; |
|
|
|
using Microsoft.AspNetCore.StaticFiles; |
|
|
|
using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore; |
|
|
@ -133,6 +134,8 @@ public class Startup |
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
services.AddDataProtection().PersistKeysToFileSystem(new DirectoryInfo(FileSystemLayout.DataProtectionFolder)); |
|
|
|
|
|
|
|
|
|
|
|
OidcHelper.Init(Configuration); |
|
|
|
OidcHelper.Init(Configuration); |
|
|
|
JwtHelper.Init(Configuration); |
|
|
|
JwtHelper.Init(Configuration); |
|
|
|
SearchHelper.Init(Configuration); |
|
|
|
SearchHelper.Init(Configuration); |
|
|
|