Skip to content
  •  
  •  
  •  
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth.Tests/OpenAthensControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="OpenAthensControllerTests.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Tests
namespace LearningHub.Nhs.Auth.Tests
{
using System;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="AzureDataProtectionConfig.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
/// <summary>
/// The Azure Data Protection config.
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Configuration/ClientAppConfig.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="ClientAppConfig.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LearningHubAuthConfig.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LearningHubClientStore.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LearningHubIdentityServerBuilderExtensions.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using LearningHub.Nhs.Auth.UserServices;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LearningHubResourceStore.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using System;
using System.Collections.Generic;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Configuration/OpenAthensConfig.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="OpenAthensConfig.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
/// <summary>
/// The open athens config.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="OpenAthensLearningHubClientDictionary.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
// <copyright file="SameSiteCookiesServiceCollectionExtensions.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>
namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using System;

Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Configuration/ServiceMappings.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="ServiceMappings.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using System.Collections.Generic;
using System.Net.Http;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Configuration/WebSettings.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="WebSettings.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Configuration
namespace LearningHub.Nhs.Auth.Configuration
{
using System.Diagnostics.CodeAnalysis;

Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Controllers/AccountController.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="AccountController.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Controllers
namespace LearningHub.Nhs.Auth.Controllers
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="RegistrationInfoController.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Controllers.Api
namespace LearningHub.Nhs.Auth.Controllers.Api
{
using System.Collections.Generic;
using System.Threading.Tasks;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Controllers/GrantsController.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="GrantsController.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Controllers
namespace LearningHub.Nhs.Auth.Controllers
{
using System.Collections.Generic;
using System.Linq;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="HomeController.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Controllers
namespace LearningHub.Nhs.Auth.Controllers
{
using System.Threading.Tasks;
using IdentityServer4.Services;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="IdentityServerController.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Controllers
namespace LearningHub.Nhs.Auth.Controllers
{
using System;
using System.Globalization;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="OpenAthensController.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Controllers
namespace LearningHub.Nhs.Auth.Controllers
{
using System;
using System.Collections.Generic;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Controllers/SsoController.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="SsoController.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Controllers
namespace LearningHub.Nhs.Auth.Controllers
{
using System;
using System.Collections.Generic;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Extensions/Extensions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="Extensions.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Extensions
namespace LearningHub.Nhs.Auth.Extensions
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="SecurityHeadersAttribute.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Filters
namespace LearningHub.Nhs.Auth.Filters
{
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="OpenAthensHelpers.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Helpers.OpenAthens
namespace LearningHub.Nhs.Auth.Helpers.OpenAthens
{
using System;
using System.Collections.Generic;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Helpers/SecurityHelper.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="SecurityHelper.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

/*
/*
https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.rfc2898derivebytes?view=net-5.0
Implements password-based key derivation functionality, PBKDF2, by using a pseudo-random number generator based on HMACSHA1.

Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Helpers/UtilityHelper.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="UtilityHelper.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Helpers
namespace LearningHub.Nhs.Auth.Helpers
{
using System;
using System.Text;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="IExternalSystemService.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Interfaces
namespace LearningHub.Nhs.Auth.Interfaces
{
using System.Threading.Tasks;
using LearningHub.Nhs.Models.Entities.External;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Interfaces/IRegistrationService.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="IRegistrationService.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Interfaces
namespace LearningHub.Nhs.Auth.Interfaces
{
using System.Collections.Generic;
using System.Threading.Tasks;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Interfaces/IUserApiHttpClient.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="IUserApiHttpClient.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Interfaces
namespace LearningHub.Nhs.Auth.Interfaces
{
using System.Net.Http;

Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Interfaces/IUserService.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="IUserService.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Interfaces
namespace LearningHub.Nhs.Auth.Interfaces
{
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Middleware/ExceptionMiddleware.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="ExceptionMiddleware.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Middleware
namespace LearningHub.Nhs.Auth.Middleware
{
using System;
using System.Net;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Models/Account/AccountOptions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="AccountOptions.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Account
namespace LearningHub.Nhs.Auth.Models.Account
{
using System;
using System.Collections.Generic;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Models/Account/ExternalProvider.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="ExternalProvider.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Account
namespace LearningHub.Nhs.Auth.Models.Account
{
/// <summary>
/// The external provider out view model.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LoggedOutViewModel.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Account
namespace LearningHub.Nhs.Auth.Models.Account
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LoginClientTemplate.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Account
namespace LearningHub.Nhs.Auth.Models.Account
{
using System.Collections.Generic;

Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Models/Account/LoginViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LoginViewModel.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Account
namespace LearningHub.Nhs.Auth.Models.Account
{
using System.Collections.Generic;
using System.Linq;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Models/Account/LogoutInputModel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LogoutInputModel.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Account
namespace LearningHub.Nhs.Auth.Models.Account
{
/// <summary>
/// The logout input model.
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Models/Account/LogoutViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="LogoutViewModel.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Account
namespace LearningHub.Nhs.Auth.Models.Account
{
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="RedirectViewModel.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Account
namespace LearningHub.Nhs.Auth.Models.Account
{
/// <summary>
/// The redirect model.
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Models/Grants/GrantViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="GrantViewModel.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Grants
namespace LearningHub.Nhs.Auth.Models.Grants
{
using System;
using System.Collections.Generic;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Models/Grants/GrantsViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="GrantsViewModel.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Grants
namespace LearningHub.Nhs.Auth.Models.Grants
{
using System;
using System.Collections.Generic;
Expand Down
6 changes: 1 addition & 5 deletions Auth/LearningHub.Nhs.Auth/Models/Home/ErrorViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// <copyright file="ErrorViewModel.cs" company="HEE.nhs.uk">
// Copyright (c) HEE.nhs.uk.
// </copyright>

namespace LearningHub.Nhs.Auth.Models.Home
namespace LearningHub.Nhs.Auth.Models.Home
{
using IdentityServer4.Models;

Expand Down
Loading