From 3ec59d141fe1178d4a1f8a4910080142d03af8ff Mon Sep 17 00:00:00 2001 From: Javier Calvarro Nelson Date: Thu, 31 Aug 2017 17:43:45 -0700 Subject: [PATCH] Add missing license files --- .../Extensions/CookieComparison.cs | 5 ++++- .../Extensions/ResponseAssert.cs | 5 ++++- .../Infrastructure/AutoSignInFilter.cs | 7 +++++-- .../Infrastructure/CookieContainerHandler.cs | 5 ++++- .../Infrastructure/CredentialsServerBuilder.cs | 5 ++++- .../Infrastructure/EntityFrameworkSeedReferenceData.cs | 5 ++++- .../Infrastructure/LoopBackHandler.cs | 5 ++++- .../Infrastructure/SeedData.cs | 5 ++++- .../TraditionalWebApplicationTests.cs | 5 ++++- .../Areas/Identity/Controllers/AccountController.cs | 5 ++++- .../Areas/Identity/Controllers/ApplicationsController.cs | 5 ++++- .../Controllers/IdentityServiceConfigurationController.cs | 5 ++++- .../Identity/Controllers/IdentityServiceController.cs | 7 +++++-- .../Areas/Identity/Controllers/ManageController.cs | 5 ++++- .../Areas/Identity/Data/IdentityServiceDbContext.cs | 5 ++++- .../Data/Migrations/00000000000000_CreateIdentitySchema.cs | 5 ++++- .../Migrations/IdentityServiceDbContextModelSnapshot.cs | 3 ++- .../Areas/Identity/Extensions/IdentityServiceExtensions.cs | 5 ++++- .../ExternalLoginConfirmationViewModel.cs | 5 ++++- .../Models/AccountViewModels/ForgotPasswordViewModel.cs | 5 ++++- .../Identity/Models/AccountViewModels/LoginViewModel.cs | 5 ++++- .../Identity/Models/AccountViewModels/RegisterViewModel.cs | 5 ++++- .../Models/AccountViewModels/ResetPasswordViewModel.cs | 5 ++++- .../Identity/Models/AccountViewModels/SendCodeViewModel.cs | 5 ++++- .../Models/AccountViewModels/VerifyCodeViewModel.cs | 5 ++++- .../Areas/Identity/Models/ApplicationUser.cs | 5 ++++- .../ApplicationViewModels/ApplicationDetailsViewModel.cs | 5 ++++- .../ChangeApplicationNameViewModel.cs | 5 ++++- .../ApplicationViewModels/CreateApplicationViewModel.cs | 5 ++++- .../ApplicationViewModels/CreateLogoutUriViewModel.cs | 5 ++++- .../ApplicationViewModels/CreateRedirectUriViewModel.cs | 5 ++++- .../Models/ApplicationViewModels/CreateScopeViewModel.cs | 5 ++++- .../Models/ApplicationViewModels/EditLogoutUriViewModel.cs | 5 ++++- .../ApplicationViewModels/EditRedirectUriViewModel.cs | 5 ++++- .../Models/ApplicationViewModels/EditScopeViewModel.cs | 5 ++++- .../GeneratedClientSecretViewModel.cs | 5 ++++- .../ApplicationViewModels/RemoveApplicationViewModel.cs | 5 ++++- .../ApplicationViewModels/RemoveLogoutUriViewModel.cs | 5 ++++- .../ApplicationViewModels/RemoveRedirectUriViewModel.cs | 5 ++++- .../Models/ApplicationViewModels/RemoveScopeViewModel.cs | 5 ++++- .../Models/ManageViewModels/AddPhoneNumberViewModel.cs | 5 ++++- .../Models/ManageViewModels/ChangePasswordViewModel.cs | 5 ++++- .../Models/ManageViewModels/ConfigureTwoFactorViewModel.cs | 5 ++++- .../Identity/Models/ManageViewModels/FactorViewModel.cs | 5 ++++- .../Identity/Models/ManageViewModels/IndexViewModel.cs | 5 ++++- .../Models/ManageViewModels/ManageLoginsViewModel.cs | 5 ++++- .../Models/ManageViewModels/RemoveLoginViewModel.cs | 5 ++++- .../Models/ManageViewModels/SetPasswordViewModel.cs | 5 ++++- .../Models/ManageViewModels/VerifyPhoneNumberViewModel.cs | 5 ++++- .../Areas/Identity/Services/IEmailSender.cs | 5 ++++- .../Areas/Identity/Services/ISmsSender.cs | 5 ++++- .../Areas/Identity/Services/MessageServices.cs | 5 ++++- .../Controllers/AccountController.cs | 5 ++++- .../Controllers/HomeController.cs | 5 ++++- .../Models/ErrorViewModel.cs | 3 +++ test/WebSites/Identity.OpenIdConnect.WebSite/Program.cs | 4 +++- test/WebSites/Identity.OpenIdConnect.WebSite/Startup.cs | 6 ++++-- 57 files changed, 226 insertions(+), 59 deletions(-) diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Extensions/CookieComparison.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Extensions/CookieComparison.cs index 98eff54c17..9e66e8db0c 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Extensions/CookieComparison.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Extensions/CookieComparison.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; namespace Microsoft.AspNetCore.Mvc.Testing { diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Extensions/ResponseAssert.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Extensions/ResponseAssert.cs index 11a204cab6..ca1b503b42 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Extensions/ResponseAssert.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Extensions/ResponseAssert.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Net; diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/AutoSignInFilter.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/AutoSignInFilter.cs index fc1cd54696..93304d3f1b 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/AutoSignInFilter.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/AutoSignInFilter.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Threading.Tasks; using Identity.OpenIdConnect.WebSite.Identity.Models; using Microsoft.AspNetCore.Identity; @@ -12,7 +15,7 @@ namespace Microsoft.AspnetCore.Identity.Service.FunctionalTests { private readonly string _loginPath; - public AutoSignInFilter(string loginPath = "/tfp/IdentityService/Account/Login") + public AutoSignInFilter(string loginPath = "/tfp/Identity/Account/Login") { _loginPath = loginPath; } diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/CookieContainerHandler.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/CookieContainerHandler.cs index afdbd52e4e..91a3aef23b 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/CookieContainerHandler.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/CookieContainerHandler.cs @@ -1,4 +1,7 @@ -using System.Net; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/CredentialsServerBuilder.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/CredentialsServerBuilder.cs index 3b49641c2b..ac79f43e4e 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/CredentialsServerBuilder.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/CredentialsServerBuilder.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Net.Http; using System.Security.Cryptography.X509Certificates; using Identity.OpenIdConnect.WebSite; diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/EntityFrameworkSeedReferenceData.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/EntityFrameworkSeedReferenceData.cs index 4f92c3af79..457bceedc6 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/EntityFrameworkSeedReferenceData.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/EntityFrameworkSeedReferenceData.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using Identity.OpenIdConnect.WebSite.Identity.Data; using Identity.OpenIdConnect.WebSite.Identity.Models; using Microsoft.AspNetCore.Builder; diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/LoopBackHandler.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/LoopBackHandler.cs index 1c88e3a5dc..873dfaf315 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/LoopBackHandler.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/LoopBackHandler.cs @@ -1,4 +1,7 @@ -using System.Net.Http; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Net.Http; namespace Microsoft.AspnetCore.Identity.Service.FunctionalTests { diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/SeedData.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/SeedData.cs index 6a950fc612..bc1a962123 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/SeedData.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/Infrastructure/SeedData.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using Identity.OpenIdConnect.WebSite.Identity.Models; diff --git a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/TraditionalWebApplicationTests.cs b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/TraditionalWebApplicationTests.cs index bb5eaca5f7..e7a8596794 100644 --- a/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/TraditionalWebApplicationTests.cs +++ b/test/Microsoft.AspnetCore.Identity.Service.FunctionalTests/TraditionalWebApplicationTests.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Linq; using System.Collections.Generic; using System.Net; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/AccountController.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/AccountController.cs index ac1014f78d..73d8852986 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/AccountController.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/AccountController.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Identity.OpenIdConnect.WebSite.Identity.Models; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/ApplicationsController.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/ApplicationsController.cs index 6346f623d9..8313c0bbb9 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/ApplicationsController.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/ApplicationsController.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Threading.Tasks; using Identity.OpenIdConnect.WebSite.Identity.Models; using Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/IdentityServiceConfigurationController.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/IdentityServiceConfigurationController.cs index 90332464f8..d1f1ba9bd3 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/IdentityServiceConfigurationController.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/IdentityServiceConfigurationController.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Threading.Tasks; using Microsoft.AspNetCore.Identity.Service; using Microsoft.AspNetCore.Mvc; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/IdentityServiceController.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/IdentityServiceController.cs index b122480ced..0df8b87222 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/IdentityServiceController.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/IdentityServiceController.cs @@ -1,4 +1,7 @@ -using System.Security.Claims; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Security.Claims; using System.Threading.Tasks; using Identity.OpenIdConnect.WebSite.Identity.Models; using Microsoft.AspNetCore.Identity.Service; @@ -119,7 +122,7 @@ namespace Identity.OpenIdConnect.WebSite.Identity.Controllers var parameters = new { - ReturnUrl = Url.Action("Authorize", "Identity", messageCopy.Parameters) + ReturnUrl = Url.Action("Authorize", "IdentityService", messageCopy.Parameters) }; return RedirectToAction(action, controller, parameters); diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/ManageController.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/ManageController.cs index 35f98149e0..1e734870f2 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/ManageController.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Controllers/ManageController.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Linq; using System.Threading.Tasks; using Identity.OpenIdConnect.WebSite.Identity.Models; using Identity.OpenIdConnect.WebSite.Identity.Models.ManageViewModels; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/IdentityServiceDbContext.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/IdentityServiceDbContext.cs index f413597c46..2626d2a2c5 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/IdentityServiceDbContext.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/IdentityServiceDbContext.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/Migrations/00000000000000_CreateIdentitySchema.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/Migrations/00000000000000_CreateIdentitySchema.cs index d10fa23ba7..5208933bb4 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/Migrations/00000000000000_CreateIdentitySchema.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/Migrations/00000000000000_CreateIdentitySchema.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using Microsoft.AspNetCore.Identity.Service; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/Migrations/IdentityServiceDbContextModelSnapshot.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/Migrations/IdentityServiceDbContextModelSnapshot.cs index ddce87a215..3333e0d0e0 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/Migrations/IdentityServiceDbContextModelSnapshot.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Data/Migrations/IdentityServiceDbContextModelSnapshot.cs @@ -1,4 +1,5 @@ -// +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Extensions/IdentityServiceExtensions.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Extensions/IdentityServiceExtensions.cs index 385abebf1e..1187df0341 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Extensions/IdentityServiceExtensions.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Extensions/IdentityServiceExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs index 94e0c48e2c..d7409f8bf5 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ForgotPasswordViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ForgotPasswordViewModel.cs index d39358ae76..7101abd1dd 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ForgotPasswordViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ForgotPasswordViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/LoginViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/LoginViewModel.cs index 313d5d4e52..12b52849f2 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/LoginViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/LoginViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/RegisterViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/RegisterViewModel.cs index ff85bb8fd7..31bebf86dd 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/RegisterViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/RegisterViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ResetPasswordViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ResetPasswordViewModel.cs index 9c62007dcb..ed7b74582b 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ResetPasswordViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/ResetPasswordViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/SendCodeViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/SendCodeViewModel.cs index 66bb197fee..30999efc86 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/SendCodeViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/SendCodeViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/VerifyCodeViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/VerifyCodeViewModel.cs index ea6b302b7e..4d84abc0be 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/VerifyCodeViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/AccountViewModels/VerifyCodeViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationUser.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationUser.cs index bd375ead1a..9cf374cc88 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationUser.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationUser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/ApplicationDetailsViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/ApplicationDetailsViewModel.cs index c75dd48452..f82003e201 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/ApplicationDetailsViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/ApplicationDetailsViewModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Collections.Generic; using System.Linq; namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/ChangeApplicationNameViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/ChangeApplicationNameViewModel.cs index 76385eced2..355b18adee 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/ChangeApplicationNameViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/ChangeApplicationNameViewModel.cs @@ -1,4 +1,7 @@ -namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { public class ChangeApplicationNameViewModel { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateApplicationViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateApplicationViewModel.cs index a07bb07b2a..52d3e044db 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateApplicationViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateApplicationViewModel.cs @@ -1,4 +1,7 @@ -using System.ComponentModel.DataAnnotations; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.ComponentModel.DataAnnotations; namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateLogoutUriViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateLogoutUriViewModel.cs index 9be4696c36..96150fd5d7 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateLogoutUriViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateLogoutUriViewModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Collections.Generic; namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateRedirectUriViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateRedirectUriViewModel.cs index 57622a11e4..b6359e8c10 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateRedirectUriViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateRedirectUriViewModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Collections.Generic; namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateScopeViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateScopeViewModel.cs index a6f550d2f7..9f276c32a9 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateScopeViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/CreateScopeViewModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Collections.Generic; namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditLogoutUriViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditLogoutUriViewModel.cs index 491d01758a..4372b35ad1 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditLogoutUriViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditLogoutUriViewModel.cs @@ -1,4 +1,7 @@ -namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { public class EditLogoutUriViewModel { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditRedirectUriViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditRedirectUriViewModel.cs index 469546b594..b971ebfea0 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditRedirectUriViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditRedirectUriViewModel.cs @@ -1,4 +1,7 @@ -namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { public class EditRedirectUriViewModel { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditScopeViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditScopeViewModel.cs index 773a740d3d..0ed243b0a2 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditScopeViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/EditScopeViewModel.cs @@ -1,4 +1,7 @@ -namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { public class EditScopeViewModel { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/GeneratedClientSecretViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/GeneratedClientSecretViewModel.cs index 82a6f4a11c..d4ce9aef47 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/GeneratedClientSecretViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/GeneratedClientSecretViewModel.cs @@ -1,4 +1,7 @@ -namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { public class GeneratedClientSecretViewModel { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveApplicationViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveApplicationViewModel.cs index a6ba145197..22e4c3b16e 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveApplicationViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveApplicationViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveLogoutUriViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveLogoutUriViewModel.cs index 59baa6f843..61fa9e24b4 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveLogoutUriViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveLogoutUriViewModel.cs @@ -1,4 +1,7 @@ -namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { public class RemoveLogoutUriViewModel { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveRedirectUriViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveRedirectUriViewModel.cs index 8fbcb588bf..e5e62a9e49 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveRedirectUriViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveRedirectUriViewModel.cs @@ -1,4 +1,7 @@ -namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { public class RemoveRedirectUriViewModel { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveScopeViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveScopeViewModel.cs index 56212db2c7..e76ba8a7b1 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveScopeViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ApplicationViewModels/RemoveScopeViewModel.cs @@ -1,4 +1,7 @@ -namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Identity.OpenIdConnect.WebSite.Identity.Models.ApplicationViewModels { public class RemoveScopeViewModel { diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/AddPhoneNumberViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/AddPhoneNumberViewModel.cs index 3cb3cabe15..ff415978cf 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/AddPhoneNumberViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/AddPhoneNumberViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ChangePasswordViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ChangePasswordViewModel.cs index e9e07eefef..d88bbc9d76 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ChangePasswordViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ChangePasswordViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs index c85038d0fe..2749ed7bc1 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/FactorViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/FactorViewModel.cs index b3763ebe31..e383beaceb 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/FactorViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/FactorViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/IndexViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/IndexViewModel.cs index 7364b5337d..390eccd453 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/IndexViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/IndexViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ManageLoginsViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ManageLoginsViewModel.cs index 2b303255d9..7f530806a0 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ManageLoginsViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/ManageLoginsViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/RemoveLoginViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/RemoveLoginViewModel.cs index 4e476196c0..fb4697efe7 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/RemoveLoginViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/RemoveLoginViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/SetPasswordViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/SetPasswordViewModel.cs index dc987438f4..7bf47f26b9 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/SetPasswordViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/SetPasswordViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs index f6484ffa05..04b33522fa 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/IEmailSender.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/IEmailSender.cs index ca5814af07..bb1ef94c54 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/IEmailSender.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/IEmailSender.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/ISmsSender.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/ISmsSender.cs index 8dc37c49c4..41ca2f231c 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/ISmsSender.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/ISmsSender.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/MessageServices.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/MessageServices.cs index 2db49e05d4..1f1ed6de64 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/MessageServices.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Areas/Identity/Services/MessageServices.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Controllers/AccountController.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Controllers/AccountController.cs index 3c8685ea20..77f9713aa0 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Controllers/AccountController.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Controllers/AccountController.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Controllers/HomeController.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Controllers/HomeController.cs index ae4452ed05..188cd667fb 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Controllers/HomeController.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Controllers/HomeController.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Models/ErrorViewModel.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Models/ErrorViewModel.cs index de39a6d728..a3ce1f0e20 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Models/ErrorViewModel.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Models/ErrorViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; namespace Identity.OpenIdConnect.WebSite.Models diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Program.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Program.cs index ec1e27bac6..6129dffd88 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Program.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Program.cs @@ -1,4 +1,6 @@ - +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System.IO; using System.Reflection; using Microsoft.AspNetCore.Hosting; diff --git a/test/WebSites/Identity.OpenIdConnect.WebSite/Startup.cs b/test/WebSites/Identity.OpenIdConnect.WebSite/Startup.cs index 48b3c44b3d..da1ee81738 100644 --- a/test/WebSites/Identity.OpenIdConnect.WebSite/Startup.cs +++ b/test/WebSites/Identity.OpenIdConnect.WebSite/Startup.cs @@ -1,10 +1,12 @@ -using Identity.OpenIdConnect.WebSite.Identity.Data; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using Identity.OpenIdConnect.WebSite.Identity.Data; using Identity.OpenIdConnect.WebSite.Identity.Models; using Identity.OpenIdConnect.WebSite.Identity.Services; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Diagnostics.Identity.Service; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity;