Skip to content

Commit

Permalink
Rename SS14.Auth -> SS14.Web
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Sep 20, 2020
1 parent 5d8a99a commit 72ce924
Show file tree
Hide file tree
Showing 152 changed files with 151 additions and 175 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ obj/
riderModule.iml
/_ReSharper.Caches/
.idea/
/SS14.Auth.sln.DotSettings.user
/*.sln.DotSettings.user
18 changes: 0 additions & 18 deletions SS14.Auth.Tests/SS14.Auth.Tests.csproj

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions SS14.Auth/Properties/AssemblyInfo.cs

This file was deleted.

8 changes: 1 addition & 7 deletions SS14.Auth.sln → SS14.Web.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
#
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SS14.Auth", "SS14.Auth\SS14.Auth.csproj", "{5885E65D-954D-45FE-B1EC-751D41CC4127}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SS14.Web", "SS14.Web\SS14.Web.csproj", "{5885E65D-954D-45FE-B1EC-751D41CC4127}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{E8B08827-B7DC-459A-985C-BFAB426B570E}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -16,8 +16,6 @@ ProjectSection(SolutionItems) = preProject
.github\workflows\build-test.yml = .github\workflows\build-test.yml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SS14.Auth.Tests", "SS14.Auth.Tests\SS14.Auth.Tests.csproj", "{F5A73700-EA78-4805-BC40-709C288B0EB3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -28,10 +26,6 @@ Global
{5885E65D-954D-45FE-B1EC-751D41CC4127}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5885E65D-954D-45FE-B1EC-751D41CC4127}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5885E65D-954D-45FE-B1EC-751D41CC4127}.Release|Any CPU.Build.0 = Release|Any CPU
{F5A73700-EA78-4805-BC40-709C288B0EB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F5A73700-EA78-4805-BC40-709C288B0EB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F5A73700-EA78-4805-BC40-709C288B0EB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F5A73700-EA78-4805-BC40-709C288B0EB3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{569B190C-2FE6-44FA-B282-E0E7ACE64226} = {E8B08827-B7DC-459A-985C-BFAB426B570E}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using SS14.Auth.Data;
using SS14.Web.Data;

[assembly: HostingStartup(typeof(SS14.Auth.Areas.Identity.IdentityHostingStartup))]
namespace SS14.Auth.Areas.Identity
[assembly: HostingStartup(typeof(SS14.Web.Areas.Identity.IdentityHostingStartup))]
namespace SS14.Web.Areas.Identity
{
public class IdentityHostingStartup : IHostingStartup
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model AccessDeniedModel
@{
ViewData["Title"] = "Access denied";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
public class AccessDeniedModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model ConfirmEmailModel
@{
ViewData["Title"] = "Confirm email";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.WebUtilities;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class ConfirmEmailModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model ConfirmEmailChangeModel
@{
ViewData["Title"] = "Confirm email change";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.WebUtilities;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class ConfirmEmailChangeModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model ExternalLoginModel
@{
ViewData["Title"] = "Register";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class ExternalLoginModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model ForgotPasswordModel
@{
ViewData["Title"] = "Forgot your password?";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.WebUtilities;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class ForgotPasswordModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model ForgotPasswordConfirmation
@{
ViewData["Title"] = "Forgot password confirmation";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class ForgotPasswordConfirmation : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model LockoutModel
@{
ViewData["Title"] = "Locked out";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class LockoutModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model LoginModel

@{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class LoginModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@page
@model LoginWith2faModel
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@{
ViewData["Title"] = "Two-factor authentication";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class LoginWith2faModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model LoginWithRecoveryCodeModel
@{
ViewData["Title"] = "Recovery code verification";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class LoginWithRecoveryCodeModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@using SS14.Auth.Areas.Identity.Pages.Account
@using SS14.Web.Areas.Identity.Pages.Account
@model LogoutModel
@{
ViewData["Title"] = "Log out";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account
namespace SS14.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class LogoutModel : PageModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Auth.Sessions;
using SS14.Web.Data;
using SS14.Web.Sessions;

namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public class ChangePasswordModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;
namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public class DeletePersonalDataModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public class Disable2faModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;
namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public class DownloadPersonalDataModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.WebUtilities;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public partial class EmailModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public class EnableAuthenticatorModel : PageModel
{
Expand Down Expand Up @@ -149,7 +149,7 @@ private string GenerateQrCodeUri(string email, string unformattedKey)
{
return string.Format(
AuthenticatorUriFormat,
_urlEncoder.Encode("SS14.Auth"),
_urlEncoder.Encode("SS14.Web"),
_urlEncoder.Encode(email),
unformattedKey);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public class ExternalLoginsModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public class GenerateRecoveryCodesModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using SS14.Auth.Data;
using SS14.Web.Data;

namespace SS14.Auth.Areas.Identity.Pages.Account.Manage
namespace SS14.Web.Areas.Identity.Pages.Account.Manage
{
public partial class IndexModel : PageModel
{
Expand Down
Loading

0 comments on commit 72ce924

Please sign in to comment.