From dfcce023018aed5dc824daecf5df5320c9316a71 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Tue, 14 Feb 2023 01:23:13 +0200 Subject: [PATCH] license --- LICENSE.txt | 22 +++++++++++++++++++ Tuitio.sln | 1 + .../AuthenticateUserHandler.cs | 4 +++- .../CommandHandlers/AuthorizeTokenHandler.cs | 4 +++- .../Commands/AuthenticateUser.cs | 4 +++- .../Commands/AuthorizeToken.cs | 4 +++- .../DependencyInjectionExtensions.cs | 4 +++- .../Mappings/MappingProfile.cs | 4 +++- .../Services/Abstractions/IBehaviorService.cs | 4 +++- .../Services/Abstractions/IHashingService.cs | 4 +++- .../Services/BehaviorService.cs | 4 +++- .../Services/ConfigProvider.cs | 4 +++- .../Services/HashingService.cs | 4 +++- .../Services/ITokenService.cs | 4 +++- .../Services/IUserService.cs | 4 +++- .../Services/TokenService.cs | 4 +++- .../Services/UserService.cs | 4 +++- src/Tuitio.Application/Stores/ITokenStore.cs | 4 +++- src/Tuitio.Application/Stores/TokenStore.cs | 4 +++- .../DbContexts/IdentityDbContext.cs | 4 +++- .../DependencyInjectionExtensions.cs | 4 +++- .../AppUserConfiguration.cs | 4 +++- .../UserClaimConfiguration.cs | 4 +++- .../UserStatusConfiguration.cs | 4 +++- .../UserTokenConfiguration.cs | 4 +++- .../Repositories/IdentityRepository.cs | 4 +++- .../Abstractions/IConfigProvider.cs | 4 +++- src/Tuitio.Domain/Entities/AppUser.cs | 4 +++- src/Tuitio.Domain/Entities/UserClaim.cs | 4 +++- src/Tuitio.Domain/Entities/UserStatus.cs | 4 +++- src/Tuitio.Domain/Entities/UserToken.cs | 4 +++- .../Models/Config/RestrictionsConfig.cs | 4 +++- .../Models/Config/TokenConfig.cs | 4 +++- src/Tuitio.Domain/Models/Token.cs | 4 +++- src/Tuitio.Domain/Models/TokenCore.cs | 4 +++- .../Repositories/IIdentityRepository.cs | 4 +++- .../Constants/AuthenticationStatus.cs | 4 +++- src/Tuitio.PublishedLanguage/Dto/Token.cs | 4 +++- src/Tuitio.PublishedLanguage/Dto/TokenCore.cs | 4 +++- .../Events/AuthenticateUserResult.cs | 4 +++- src/Tuitio.Wrapper/Constants/ApiRoutes.cs | 4 +++- .../DependencyInjectionExtension.cs | 4 +++- .../Models/ServiceConfiguration.cs | 4 +++- .../Services/IIdentityService.cs | 4 +++- .../Services/IdentityService.cs | 4 +++- src/Tuitio/Controllers/IdentityController.cs | 4 +++- src/Tuitio/Controllers/SystemController.cs | 4 +++- src/Tuitio/Extensions/DataTypeExtensions.cs | 4 +++- src/Tuitio/Extensions/LoggingExtensions.cs | 4 +++- src/Tuitio/Extensions/StartupExtensions.cs | 2 ++ src/Tuitio/Program.cs | 2 ++ 51 files changed, 168 insertions(+), 47 deletions(-) create mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..d5fd12e --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2020 Tudor Stanciu + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Tuitio.sln b/Tuitio.sln index 004792e..ce10e3a 100644 --- a/Tuitio.sln +++ b/Tuitio.sln @@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "solution items", "solution .gitignore = .gitignore dependencies.props = dependencies.props Directory.Build.props = Directory.Build.props + LICENSE.txt = LICENSE.txt NuGet.config = NuGet.config README.md = README.md ReleaseNotes.xml = ReleaseNotes.xml diff --git a/src/Tuitio.Application/CommandHandlers/AuthenticateUserHandler.cs b/src/Tuitio.Application/CommandHandlers/AuthenticateUserHandler.cs index c0de240..61e4b60 100644 --- a/src/Tuitio.Application/CommandHandlers/AuthenticateUserHandler.cs +++ b/src/Tuitio.Application/CommandHandlers/AuthenticateUserHandler.cs @@ -1,4 +1,6 @@ -using AutoMapper; +// Copyright (c) 2020 Tudor Stanciu + +using AutoMapper; using Tuitio.Application.Commands; using Tuitio.Application.Services; using Tuitio.PublishedLanguage.Constants; diff --git a/src/Tuitio.Application/CommandHandlers/AuthorizeTokenHandler.cs b/src/Tuitio.Application/CommandHandlers/AuthorizeTokenHandler.cs index b448d3f..986307f 100644 --- a/src/Tuitio.Application/CommandHandlers/AuthorizeTokenHandler.cs +++ b/src/Tuitio.Application/CommandHandlers/AuthorizeTokenHandler.cs @@ -1,4 +1,6 @@ -using AutoMapper; +// Copyright (c) 2020 Tudor Stanciu + +using AutoMapper; using Tuitio.Application.Commands; using Tuitio.Application.Services; using Tuitio.PublishedLanguage.Dto; diff --git a/src/Tuitio.Application/Commands/AuthenticateUser.cs b/src/Tuitio.Application/Commands/AuthenticateUser.cs index a5c466f..7345a7f 100644 --- a/src/Tuitio.Application/Commands/AuthenticateUser.cs +++ b/src/Tuitio.Application/Commands/AuthenticateUser.cs @@ -1,4 +1,6 @@ -using MediatR; +// Copyright (c) 2020 Tudor Stanciu + +using MediatR; using Tuitio.PublishedLanguage.Events; namespace Tuitio.Application.Commands diff --git a/src/Tuitio.Application/Commands/AuthorizeToken.cs b/src/Tuitio.Application/Commands/AuthorizeToken.cs index 31854f6..7cc0c32 100644 --- a/src/Tuitio.Application/Commands/AuthorizeToken.cs +++ b/src/Tuitio.Application/Commands/AuthorizeToken.cs @@ -1,4 +1,6 @@ -using MediatR; +// Copyright (c) 2020 Tudor Stanciu + +using MediatR; using Tuitio.PublishedLanguage.Dto; namespace Tuitio.Application.Commands diff --git a/src/Tuitio.Application/DependencyInjectionExtensions.cs b/src/Tuitio.Application/DependencyInjectionExtensions.cs index ee1b2ac..7ce0a8b 100644 --- a/src/Tuitio.Application/DependencyInjectionExtensions.cs +++ b/src/Tuitio.Application/DependencyInjectionExtensions.cs @@ -1,4 +1,6 @@ -using Tuitio.Application.Services; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Application.Services; using Tuitio.Application.Services.Abstractions; using Tuitio.Application.Stores; using Tuitio.Domain.Abstractions; diff --git a/src/Tuitio.Application/Mappings/MappingProfile.cs b/src/Tuitio.Application/Mappings/MappingProfile.cs index 10804f2..21b6efd 100644 --- a/src/Tuitio.Application/Mappings/MappingProfile.cs +++ b/src/Tuitio.Application/Mappings/MappingProfile.cs @@ -1,4 +1,6 @@ -using AutoMapper; +// Copyright (c) 2020 Tudor Stanciu + +using AutoMapper; using Tuitio.Domain.Entities; using System.Collections.Generic; using dto = Tuitio.PublishedLanguage.Dto; diff --git a/src/Tuitio.Application/Services/Abstractions/IBehaviorService.cs b/src/Tuitio.Application/Services/Abstractions/IBehaviorService.cs index c79ffa6..6c6b6d8 100644 --- a/src/Tuitio.Application/Services/Abstractions/IBehaviorService.cs +++ b/src/Tuitio.Application/Services/Abstractions/IBehaviorService.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Application.Services.Abstractions +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Application.Services.Abstractions { public interface IBehaviorService { diff --git a/src/Tuitio.Application/Services/Abstractions/IHashingService.cs b/src/Tuitio.Application/Services/Abstractions/IHashingService.cs index 84e7c23..b26cb14 100644 --- a/src/Tuitio.Application/Services/Abstractions/IHashingService.cs +++ b/src/Tuitio.Application/Services/Abstractions/IHashingService.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Application.Services.Abstractions +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Application.Services.Abstractions { internal interface IHashingService { diff --git a/src/Tuitio.Application/Services/BehaviorService.cs b/src/Tuitio.Application/Services/BehaviorService.cs index 210d9a7..c4e5bee 100644 --- a/src/Tuitio.Application/Services/BehaviorService.cs +++ b/src/Tuitio.Application/Services/BehaviorService.cs @@ -1,4 +1,6 @@ -using Tuitio.Application.Services.Abstractions; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Application.Services.Abstractions; using Tuitio.Application.Stores; using Tuitio.Domain.Entities; using Tuitio.Domain.Models; diff --git a/src/Tuitio.Application/Services/ConfigProvider.cs b/src/Tuitio.Application/Services/ConfigProvider.cs index 6c1a0eb..43f5811 100644 --- a/src/Tuitio.Application/Services/ConfigProvider.cs +++ b/src/Tuitio.Application/Services/ConfigProvider.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Abstractions; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Abstractions; using Tuitio.Domain.Models.Config; using Microsoft.Extensions.Configuration; diff --git a/src/Tuitio.Application/Services/HashingService.cs b/src/Tuitio.Application/Services/HashingService.cs index 0145dcb..c10c6d7 100644 --- a/src/Tuitio.Application/Services/HashingService.cs +++ b/src/Tuitio.Application/Services/HashingService.cs @@ -1,4 +1,6 @@ -using Tuitio.Application.Services.Abstractions; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Application.Services.Abstractions; using System; using System.Security.Authentication; using System.Security.Cryptography; diff --git a/src/Tuitio.Application/Services/ITokenService.cs b/src/Tuitio.Application/Services/ITokenService.cs index 03f3566..6eec150 100644 --- a/src/Tuitio.Application/Services/ITokenService.cs +++ b/src/Tuitio.Application/Services/ITokenService.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Entities; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Entities; using Tuitio.Domain.Models; namespace Tuitio.Application.Services diff --git a/src/Tuitio.Application/Services/IUserService.cs b/src/Tuitio.Application/Services/IUserService.cs index 8248a58..7b12c69 100644 --- a/src/Tuitio.Application/Services/IUserService.cs +++ b/src/Tuitio.Application/Services/IUserService.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Models; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Models; using System.Threading.Tasks; namespace Tuitio.Application.Services diff --git a/src/Tuitio.Application/Services/TokenService.cs b/src/Tuitio.Application/Services/TokenService.cs index 98605dc..0353639 100644 --- a/src/Tuitio.Application/Services/TokenService.cs +++ b/src/Tuitio.Application/Services/TokenService.cs @@ -1,4 +1,6 @@ -using AutoMapper; +// Copyright (c) 2020 Tudor Stanciu + +using AutoMapper; using Tuitio.Domain.Abstractions; using Tuitio.Domain.Entities; using Tuitio.Domain.Models; diff --git a/src/Tuitio.Application/Services/UserService.cs b/src/Tuitio.Application/Services/UserService.cs index 57e2abc..24cafe3 100644 --- a/src/Tuitio.Application/Services/UserService.cs +++ b/src/Tuitio.Application/Services/UserService.cs @@ -1,4 +1,6 @@ -using Tuitio.Application.Services.Abstractions; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Application.Services.Abstractions; using Tuitio.Application.Stores; using Tuitio.Domain.Abstractions; using Tuitio.Domain.Entities; diff --git a/src/Tuitio.Application/Stores/ITokenStore.cs b/src/Tuitio.Application/Stores/ITokenStore.cs index 7ee7aef..0c4e1b9 100644 --- a/src/Tuitio.Application/Stores/ITokenStore.cs +++ b/src/Tuitio.Application/Stores/ITokenStore.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Models; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Models; namespace Tuitio.Application.Stores { diff --git a/src/Tuitio.Application/Stores/TokenStore.cs b/src/Tuitio.Application/Stores/TokenStore.cs index e374950..c427197 100644 --- a/src/Tuitio.Application/Stores/TokenStore.cs +++ b/src/Tuitio.Application/Stores/TokenStore.cs @@ -1,4 +1,6 @@ -using Tuitio.Application.Services; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Application.Services; using Tuitio.Domain.Models; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Tuitio.Domain.Data/DbContexts/IdentityDbContext.cs b/src/Tuitio.Domain.Data/DbContexts/IdentityDbContext.cs index dc35ca1..cf61a1a 100644 --- a/src/Tuitio.Domain.Data/DbContexts/IdentityDbContext.cs +++ b/src/Tuitio.Domain.Data/DbContexts/IdentityDbContext.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Data.EntityTypeConfiguration; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Data.EntityTypeConfiguration; using Tuitio.Domain.Entities; using Microsoft.EntityFrameworkCore; diff --git a/src/Tuitio.Domain.Data/DependencyInjectionExtensions.cs b/src/Tuitio.Domain.Data/DependencyInjectionExtensions.cs index 92add97..47a41c2 100644 --- a/src/Tuitio.Domain.Data/DependencyInjectionExtensions.cs +++ b/src/Tuitio.Domain.Data/DependencyInjectionExtensions.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Data.DbContexts; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Data.DbContexts; using Tuitio.Domain.Data.Repositories; using Tuitio.Domain.Repositories; using Microsoft.Extensions.Configuration; diff --git a/src/Tuitio.Domain.Data/EntityTypeConfiguration/AppUserConfiguration.cs b/src/Tuitio.Domain.Data/EntityTypeConfiguration/AppUserConfiguration.cs index acdb6bb..95aaf93 100644 --- a/src/Tuitio.Domain.Data/EntityTypeConfiguration/AppUserConfiguration.cs +++ b/src/Tuitio.Domain.Data/EntityTypeConfiguration/AppUserConfiguration.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Entities; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; diff --git a/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserClaimConfiguration.cs b/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserClaimConfiguration.cs index 3a624fd..68f97c1 100644 --- a/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserClaimConfiguration.cs +++ b/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserClaimConfiguration.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Entities; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; diff --git a/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserStatusConfiguration.cs b/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserStatusConfiguration.cs index ce4c367..ec7dae6 100644 --- a/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserStatusConfiguration.cs +++ b/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserStatusConfiguration.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Entities; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; diff --git a/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserTokenConfiguration.cs b/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserTokenConfiguration.cs index cc98b55..4c39237 100644 --- a/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserTokenConfiguration.cs +++ b/src/Tuitio.Domain.Data/EntityTypeConfiguration/UserTokenConfiguration.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Entities; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; diff --git a/src/Tuitio.Domain.Data/Repositories/IdentityRepository.cs b/src/Tuitio.Domain.Data/Repositories/IdentityRepository.cs index 60a28e4..77ec773 100644 --- a/src/Tuitio.Domain.Data/Repositories/IdentityRepository.cs +++ b/src/Tuitio.Domain.Data/Repositories/IdentityRepository.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Data.DbContexts; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Data.DbContexts; using Tuitio.Domain.Entities; using Tuitio.Domain.Models; using Tuitio.Domain.Repositories; diff --git a/src/Tuitio.Domain/Abstractions/IConfigProvider.cs b/src/Tuitio.Domain/Abstractions/IConfigProvider.cs index f36624e..80b6d9a 100644 --- a/src/Tuitio.Domain/Abstractions/IConfigProvider.cs +++ b/src/Tuitio.Domain/Abstractions/IConfigProvider.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Models.Config; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Models.Config; namespace Tuitio.Domain.Abstractions { diff --git a/src/Tuitio.Domain/Entities/AppUser.cs b/src/Tuitio.Domain/Entities/AppUser.cs index bcc81c5..f9289d2 100644 --- a/src/Tuitio.Domain/Entities/AppUser.cs +++ b/src/Tuitio.Domain/Entities/AppUser.cs @@ -1,4 +1,6 @@ -using System; +// Copyright (c) 2020 Tudor Stanciu + +using System; using System.Collections.Generic; namespace Tuitio.Domain.Entities diff --git a/src/Tuitio.Domain/Entities/UserClaim.cs b/src/Tuitio.Domain/Entities/UserClaim.cs index 59d03b0..3eb9728 100644 --- a/src/Tuitio.Domain/Entities/UserClaim.cs +++ b/src/Tuitio.Domain/Entities/UserClaim.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Domain.Entities +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Domain.Entities { public class UserClaim { diff --git a/src/Tuitio.Domain/Entities/UserStatus.cs b/src/Tuitio.Domain/Entities/UserStatus.cs index 3e1acab..51bb29e 100644 --- a/src/Tuitio.Domain/Entities/UserStatus.cs +++ b/src/Tuitio.Domain/Entities/UserStatus.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Domain.Entities +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Domain.Entities { public class UserStatus { diff --git a/src/Tuitio.Domain/Entities/UserToken.cs b/src/Tuitio.Domain/Entities/UserToken.cs index de082fa..e2f59a4 100644 --- a/src/Tuitio.Domain/Entities/UserToken.cs +++ b/src/Tuitio.Domain/Entities/UserToken.cs @@ -1,4 +1,6 @@ -using System; +// Copyright (c) 2020 Tudor Stanciu + +using System; namespace Tuitio.Domain.Entities { diff --git a/src/Tuitio.Domain/Models/Config/RestrictionsConfig.cs b/src/Tuitio.Domain/Models/Config/RestrictionsConfig.cs index b08b252..39b8982 100644 --- a/src/Tuitio.Domain/Models/Config/RestrictionsConfig.cs +++ b/src/Tuitio.Domain/Models/Config/RestrictionsConfig.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Domain.Models.Config +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Domain.Models.Config { public class RestrictionsConfig { diff --git a/src/Tuitio.Domain/Models/Config/TokenConfig.cs b/src/Tuitio.Domain/Models/Config/TokenConfig.cs index c5b8f2e..5cde0aa 100644 --- a/src/Tuitio.Domain/Models/Config/TokenConfig.cs +++ b/src/Tuitio.Domain/Models/Config/TokenConfig.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Domain.Models.Config +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Domain.Models.Config { public class TokenConfig { diff --git a/src/Tuitio.Domain/Models/Token.cs b/src/Tuitio.Domain/Models/Token.cs index 44c638e..1bf56a2 100644 --- a/src/Tuitio.Domain/Models/Token.cs +++ b/src/Tuitio.Domain/Models/Token.cs @@ -1,4 +1,6 @@ -using System; +// Copyright (c) 2020 Tudor Stanciu + +using System; namespace Tuitio.Domain.Models { diff --git a/src/Tuitio.Domain/Models/TokenCore.cs b/src/Tuitio.Domain/Models/TokenCore.cs index e2fbae9..f8259c3 100644 --- a/src/Tuitio.Domain/Models/TokenCore.cs +++ b/src/Tuitio.Domain/Models/TokenCore.cs @@ -1,4 +1,6 @@ -using System.Collections.Generic; +// Copyright (c) 2020 Tudor Stanciu + +using System.Collections.Generic; namespace Tuitio.Domain.Models { diff --git a/src/Tuitio.Domain/Repositories/IIdentityRepository.cs b/src/Tuitio.Domain/Repositories/IIdentityRepository.cs index 1335924..c20b145 100644 --- a/src/Tuitio.Domain/Repositories/IIdentityRepository.cs +++ b/src/Tuitio.Domain/Repositories/IIdentityRepository.cs @@ -1,4 +1,6 @@ -using Tuitio.Domain.Entities; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Domain.Entities; using Tuitio.Domain.Models; using System.Threading.Tasks; diff --git a/src/Tuitio.PublishedLanguage/Constants/AuthenticationStatus.cs b/src/Tuitio.PublishedLanguage/Constants/AuthenticationStatus.cs index 109363d..2a57aed 100644 --- a/src/Tuitio.PublishedLanguage/Constants/AuthenticationStatus.cs +++ b/src/Tuitio.PublishedLanguage/Constants/AuthenticationStatus.cs @@ -1,4 +1,6 @@ -namespace Tuitio.PublishedLanguage.Constants +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.PublishedLanguage.Constants { public struct AuthenticationStatus { diff --git a/src/Tuitio.PublishedLanguage/Dto/Token.cs b/src/Tuitio.PublishedLanguage/Dto/Token.cs index b8eff21..af4d362 100644 --- a/src/Tuitio.PublishedLanguage/Dto/Token.cs +++ b/src/Tuitio.PublishedLanguage/Dto/Token.cs @@ -1,4 +1,6 @@ -using System; +// Copyright (c) 2020 Tudor Stanciu + +using System; namespace Tuitio.PublishedLanguage.Dto { diff --git a/src/Tuitio.PublishedLanguage/Dto/TokenCore.cs b/src/Tuitio.PublishedLanguage/Dto/TokenCore.cs index 5b55686..ecd5db5 100644 --- a/src/Tuitio.PublishedLanguage/Dto/TokenCore.cs +++ b/src/Tuitio.PublishedLanguage/Dto/TokenCore.cs @@ -1,4 +1,6 @@ -using System.Collections.Generic; +// Copyright (c) 2020 Tudor Stanciu + +using System.Collections.Generic; namespace Tuitio.PublishedLanguage.Dto { diff --git a/src/Tuitio.PublishedLanguage/Events/AuthenticateUserResult.cs b/src/Tuitio.PublishedLanguage/Events/AuthenticateUserResult.cs index fdecd40..f73cb3c 100644 --- a/src/Tuitio.PublishedLanguage/Events/AuthenticateUserResult.cs +++ b/src/Tuitio.PublishedLanguage/Events/AuthenticateUserResult.cs @@ -1,4 +1,6 @@ -using Tuitio.PublishedLanguage.Dto; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.PublishedLanguage.Dto; namespace Tuitio.PublishedLanguage.Events { diff --git a/src/Tuitio.Wrapper/Constants/ApiRoutes.cs b/src/Tuitio.Wrapper/Constants/ApiRoutes.cs index 8c1b594..aa40734 100644 --- a/src/Tuitio.Wrapper/Constants/ApiRoutes.cs +++ b/src/Tuitio.Wrapper/Constants/ApiRoutes.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Wrapper.Constants +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Wrapper.Constants { internal struct ApiRoutes { diff --git a/src/Tuitio.Wrapper/DependencyInjectionExtension.cs b/src/Tuitio.Wrapper/DependencyInjectionExtension.cs index 1c7c49f..7d0400c 100644 --- a/src/Tuitio.Wrapper/DependencyInjectionExtension.cs +++ b/src/Tuitio.Wrapper/DependencyInjectionExtension.cs @@ -1,4 +1,6 @@ -using Tuitio.Wrapper.Models; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Wrapper.Models; using Tuitio.Wrapper.Services; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Tuitio.Wrapper/Models/ServiceConfiguration.cs b/src/Tuitio.Wrapper/Models/ServiceConfiguration.cs index fc455a1..08920a6 100644 --- a/src/Tuitio.Wrapper/Models/ServiceConfiguration.cs +++ b/src/Tuitio.Wrapper/Models/ServiceConfiguration.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Wrapper.Models +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Wrapper.Models { internal class ServiceConfiguration { diff --git a/src/Tuitio.Wrapper/Services/IIdentityService.cs b/src/Tuitio.Wrapper/Services/IIdentityService.cs index 0c88975..241dac9 100644 --- a/src/Tuitio.Wrapper/Services/IIdentityService.cs +++ b/src/Tuitio.Wrapper/Services/IIdentityService.cs @@ -1,4 +1,6 @@ -using Tuitio.PublishedLanguage.Dto; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.PublishedLanguage.Dto; using System.Threading.Tasks; namespace Tuitio.Wrapper.Services diff --git a/src/Tuitio.Wrapper/Services/IdentityService.cs b/src/Tuitio.Wrapper/Services/IdentityService.cs index 7ed8a54..2d0085f 100644 --- a/src/Tuitio.Wrapper/Services/IdentityService.cs +++ b/src/Tuitio.Wrapper/Services/IdentityService.cs @@ -1,4 +1,6 @@ -using Tuitio.PublishedLanguage.Dto; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.PublishedLanguage.Dto; using Tuitio.Wrapper.Constants; using Tuitio.Wrapper.Models; using Netmash.Extensions.Http; diff --git a/src/Tuitio/Controllers/IdentityController.cs b/src/Tuitio/Controllers/IdentityController.cs index 70e73b2..b3f4d2d 100644 --- a/src/Tuitio/Controllers/IdentityController.cs +++ b/src/Tuitio/Controllers/IdentityController.cs @@ -1,4 +1,6 @@ -using Tuitio.Application.Commands; +// Copyright (c) 2020 Tudor Stanciu + +using Tuitio.Application.Commands; using MediatR; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; diff --git a/src/Tuitio/Controllers/SystemController.cs b/src/Tuitio/Controllers/SystemController.cs index e1f65ab..0016823 100644 --- a/src/Tuitio/Controllers/SystemController.cs +++ b/src/Tuitio/Controllers/SystemController.cs @@ -1,4 +1,6 @@ -using MediatR; +// Copyright (c) 2020 Tudor Stanciu + +using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; diff --git a/src/Tuitio/Extensions/DataTypeExtensions.cs b/src/Tuitio/Extensions/DataTypeExtensions.cs index efaacbd..259731a 100644 --- a/src/Tuitio/Extensions/DataTypeExtensions.cs +++ b/src/Tuitio/Extensions/DataTypeExtensions.cs @@ -1,4 +1,6 @@ -namespace Tuitio.Extensions +// Copyright (c) 2020 Tudor Stanciu + +namespace Tuitio.Extensions { internal static class DataTypeExtensions { diff --git a/src/Tuitio/Extensions/LoggingExtensions.cs b/src/Tuitio/Extensions/LoggingExtensions.cs index 609077a..20a8d46 100644 --- a/src/Tuitio/Extensions/LoggingExtensions.cs +++ b/src/Tuitio/Extensions/LoggingExtensions.cs @@ -1,4 +1,6 @@ -using Microsoft.Extensions.Configuration; +// Copyright (c) 2020 Tudor Stanciu + +using Microsoft.Extensions.Configuration; using Serilog; using Serilog.Configuration; using Serilog.Sinks.MSSqlServer; diff --git a/src/Tuitio/Extensions/StartupExtensions.cs b/src/Tuitio/Extensions/StartupExtensions.cs index a4f76cc..439d339 100644 --- a/src/Tuitio/Extensions/StartupExtensions.cs +++ b/src/Tuitio/Extensions/StartupExtensions.cs @@ -1,3 +1,5 @@ +// Copyright (c) 2020 Tudor Stanciu + using MediatR; using MediatR.Pipeline; using Microsoft.AspNetCore.Builder; diff --git a/src/Tuitio/Program.cs b/src/Tuitio/Program.cs index 1b80410..9e3c23a 100644 --- a/src/Tuitio/Program.cs +++ b/src/Tuitio/Program.cs @@ -1,3 +1,5 @@ +// Copyright (c) 2020 Tudor Stanciu + using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration;