Skip to content

Commit

Permalink
style: add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierAtSIEN committed Dec 20, 2019
1 parent cf1e0a4 commit 1d9cb9b
Show file tree
Hide file tree
Showing 48 changed files with 105 additions and 93 deletions.
14 changes: 14 additions & 0 deletions Aguacongas.Identity.Redis.sln.licenseheader
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
extensions: designer.cs generated.cs
extensions: .cs .cpp .h
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
extensions: .aspx .ascx
<%--
Project: aguacongas/Identity.Firebase
Copyright (c) 2020 @Olivier Lefebvre
--%>
extensions: .xml .config .xsd
<!--
Project: aguacongas/Identity.Firebase
Copyright (c) 2020 @Olivier Lefebvre
-->
2 changes: 0 additions & 2 deletions appveyorinit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,5 @@ if (![string]::IsNullOrEmpty($env:GitVersion_PreReleaseLabel))

appveyor SetVariable -Name Version -Value $nextversion
appveyor UpdateBuild -Version $nextversion
$builnumbersuffix = Get-Date -Format "mmddyyyy-HHmm"
$builnumber = "$builnumber-$builnumbersuffix"

dotnet restore
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if ($isLinux) {
$prArgs = "-d:sonar.branch.name=$env:APPVEYOR_REPO_BRANCH"
}

dotnet sonarscanner begin /k:aguacongas_Identity.Redis -o:aguacongas -d:sonar.host.url=https://sonarcloud.io -d:sonar.login=$env:sonarqube -d:sonar.coverageReportPaths=coverage\SonarQube.xml $prArgs -v:$env:nextversion
dotnet sonarscanner begin /k:aguacongas_Identity.Redis -o:aguacongas -d:sonar.host.url=https://sonarcloud.io -d:sonar.login=$env:sonarqube -d:sonar.coverageReportPaths=coverage\SonarQube.xml $prArgs -v:$env:version

dotnet build -c Release

Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Controllers/AccountController.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Mvc;

namespace IdentitySample.Controllers
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Controllers/ManageController.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.Linq;
using System.Threading.Tasks;
using IdentitySample.Models;
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/MessageServices.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.Threading.Tasks;

namespace IdentitySamples
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.ComponentModel.DataAnnotations;

namespace IdentitySample.Models.AccountViewModels
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.ComponentModel.DataAnnotations;

namespace IdentitySample.Models.AccountViewModels
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.ComponentModel.DataAnnotations;

namespace IdentitySample.Models.AccountViewModels
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Models/ApplicationUser.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.Collections.Generic;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System.IO;
using Microsoft.AspNetCore.Hosting;

Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Services/IEmailSender.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Services/ISmsSender.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Services/MessageServices.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using IdentitySample.Models;
using IdentitySample.Services;
using Microsoft.AspNetCore.Builder;
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/web.Debug.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Project: aguacongas/Identity.Redis
Copyright (c) 2018 @Olivier Lefebvre
Project: aguacongas/Identity.Firebase
Copyright (c) 2020 @Olivier Lefebvre
-->

<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/web.Release.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Project: aguacongas/Identity.Redis
Copyright (c) 2018 @Olivier Lefebvre
Project: aguacongas/Identity.Firebase
Copyright (c) 2020 @Olivier Lefebvre
-->

<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
Expand Down
4 changes: 2 additions & 2 deletions samples/IdentitySample.Mvc/web.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
Project: aguacongas/Identity.Redis
Copyright (c) 2018 @Olivier Lefebvre
Project: aguacongas/Identity.Firebase
Copyright (c) 2020 @Olivier Lefebvre
-->
<configuration>
<system.webServer>
Expand Down
4 changes: 2 additions & 2 deletions src/Aguacongas.Identity.Redis/IdentityBuilderExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Aguacongas.Identity.Redis;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection.Extensions;
Expand Down
4 changes: 2 additions & 2 deletions src/Aguacongas.Identity.Redis/RedisLogger.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.Extensions.Logging;
using System;
using System.IO;
Expand Down
4 changes: 2 additions & 2 deletions src/Aguacongas.Identity.Redis/RoleStore.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using Newtonsoft.Json;
using StackExchange.Redis;
Expand Down
4 changes: 2 additions & 2 deletions src/Aguacongas.Identity.Redis/Stores/UserStoreBase.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
Expand Down
4 changes: 2 additions & 2 deletions src/Aguacongas.Identity.Redis/UserOnlyStore.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using Newtonsoft.Json;
using StackExchange.Redis;
Expand Down
4 changes: 2 additions & 2 deletions src/Aguacongas.Identity.Redis/UserStore.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using Newtonsoft.Json;
using StackExchange.Redis;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.Extensions.Configuration;
using StackExchange.Redis;
using System;
Expand Down
4 changes: 2 additions & 2 deletions test/Aguacongas.Identity.Redis.IntegrationTest/TestRole.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
Expand Down
4 changes: 2 additions & 2 deletions test/Aguacongas.Identity.Redis.IntegrationTest/TestUser.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.Test;
using Microsoft.Extensions.DependencyInjection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
Expand Down
4 changes: 2 additions & 2 deletions test/Aguacongas.Identity.Redis.Test/RoleStoreTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using Moq;
using StackExchange.Redis;
Expand Down
4 changes: 2 additions & 2 deletions test/Aguacongas.Identity.Redis.Test/UserStoreTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Project: aguacongas/Identity.Redis
// Copyright (c) 2018 @Olivier Lefebvre
// Project: aguacongas/Identity.Firebase
// Copyright (c) 2020 @Olivier Lefebvre
using Microsoft.AspNetCore.Identity;
using Moq;
using StackExchange.Redis;
Expand Down

0 comments on commit 1d9cb9b

Please sign in to comment.