From 1db1e35ee7929b8a4b3bbc2609c076fb3e44861a Mon Sep 17 00:00:00 2001 From: max Date: Sun, 1 Dec 2024 03:14:36 +0100 Subject: [PATCH] Reworking auth in module --- DotBased | 2 +- SharpRSS.Blazor/Components/Pages/Home.razor | 2 +- SharpRSS.Blazor/Program.cs | 1 + SharpRSS.Blazor/SharpRSS.Blazor.csproj | 1 + SharpRSS.sln | 7 +++++++ 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/DotBased b/DotBased index a3be0d9..4580c5f 160000 --- a/DotBased +++ b/DotBased @@ -1 +1 @@ -Subproject commit a3be0d96480892a6b2e13ebae30a636389373bbb +Subproject commit 4580c5f5dc53886a48dcb07e1a918484197693cd diff --git a/SharpRSS.Blazor/Components/Pages/Home.razor b/SharpRSS.Blazor/Components/Pages/Home.razor index 893f538..1957e8e 100644 --- a/SharpRSS.Blazor/Components/Pages/Home.razor +++ b/SharpRSS.Blazor/Components/Pages/Home.razor @@ -9,7 +9,7 @@ - + Not autorized for role: 'test' diff --git a/SharpRSS.Blazor/Program.cs b/SharpRSS.Blazor/Program.cs index 6391f9f..063e8d4 100644 --- a/SharpRSS.Blazor/Program.cs +++ b/SharpRSS.Blazor/Program.cs @@ -1,6 +1,7 @@ using DotBased.ASP.Auth; using DotBased.ASP.Auth.Domains.Auth; using DotBased.ASP.Auth.Domains.Identity; +using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using MudBlazor.Services; using SharpRSS.Blazor.Components; diff --git a/SharpRSS.Blazor/SharpRSS.Blazor.csproj b/SharpRSS.Blazor/SharpRSS.Blazor.csproj index ed65a4b..1cd5d73 100644 --- a/SharpRSS.Blazor/SharpRSS.Blazor.csproj +++ b/SharpRSS.Blazor/SharpRSS.Blazor.csproj @@ -7,6 +7,7 @@ + diff --git a/SharpRSS.sln b/SharpRSS.sln index 37020eb..bd07670 100755 --- a/SharpRSS.sln +++ b/SharpRSS.sln @@ -21,6 +21,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotBased.ASP.Auth", "DotBas EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotBased.Logging.MEL", "DotBased\DotBased.Logging.MEL\DotBased.Logging.MEL.csproj", "{BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotBased.ASP.Authentication", "DotBased\DotBased.ASP.Authentication\DotBased.ASP.Authentication.csproj", "{37703127-5678-4C14-8AC3-798A8FE1C8A2}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -59,6 +61,10 @@ Global {BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Debug|Any CPU.Build.0 = Debug|Any CPU {BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Release|Any CPU.ActiveCfg = Release|Any CPU {BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E}.Release|Any CPU.Build.0 = Release|Any CPU + {37703127-5678-4C14-8AC3-798A8FE1C8A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {37703127-5678-4C14-8AC3-798A8FE1C8A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {37703127-5678-4C14-8AC3-798A8FE1C8A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {37703127-5678-4C14-8AC3-798A8FE1C8A2}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -71,5 +77,6 @@ Global {49F07625-B92C-439B-AC3E-7DEB26EA15D4} = {A73E4832-235F-4032-825E-3A928199A5DF} {18CEAA37-B46A-4543-9E7B-5BF12CFF9172} = {A73E4832-235F-4032-825E-3A928199A5DF} {BDE9E9B4-4665-4EA6-BF4E-2341F0E0529E} = {A73E4832-235F-4032-825E-3A928199A5DF} + {37703127-5678-4C14-8AC3-798A8FE1C8A2} = {A73E4832-235F-4032-825E-3A928199A5DF} EndGlobalSection EndGlobal