From bcb39f44bb24ba76f589f77829031558fda86534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Sun, 4 Oct 2015 18:41:38 +0200 Subject: [PATCH] Add license headers --- src/OpenIddict.Models/Application.cs | 8 +++++++- src/OpenIddict.Models/ApplicationType.cs | 8 +++++++- src/OpenIddict/OpenIddictContext.cs | 8 +++++++- src/OpenIddict/OpenIddictController.cs | 8 +++++++- src/OpenIddict/OpenIddictDefaults.cs | 8 +++++++- src/OpenIddict/OpenIddictExtensions.cs | 8 +++++++- src/OpenIddict/OpenIddictOptions.cs | 8 +++++++- src/OpenIddict/OpenIddictProvider.cs | 8 +++++++- 8 files changed, 56 insertions(+), 8 deletions(-) diff --git a/src/OpenIddict.Models/Application.cs b/src/OpenIddict.Models/Application.cs index 4f5fb833..8fa63be0 100644 --- a/src/OpenIddict.Models/Application.cs +++ b/src/OpenIddict.Models/Application.cs @@ -1,4 +1,10 @@ -namespace OpenIddict.Models { +/* + * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * See https://github.com/openiddict/core for more information concerning + * the license and the contributors participating to this project. + */ + +namespace OpenIddict.Models { public class Application { public string ApplicationID { get; set; } public string DisplayName { get; set; } diff --git a/src/OpenIddict.Models/ApplicationType.cs b/src/OpenIddict.Models/ApplicationType.cs index 261478b8..8f961062 100644 --- a/src/OpenIddict.Models/ApplicationType.cs +++ b/src/OpenIddict.Models/ApplicationType.cs @@ -1,4 +1,10 @@ -namespace OpenIddict.Models { +/* + * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * See https://github.com/openiddict/core for more information concerning + * the license and the contributors participating to this project. + */ + +namespace OpenIddict.Models { public enum ApplicationType { Public = 0, Confidential = 1 diff --git a/src/OpenIddict/OpenIddictContext.cs b/src/OpenIddict/OpenIddictContext.cs index ab226e56..ec89a944 100644 --- a/src/OpenIddict/OpenIddictContext.cs +++ b/src/OpenIddict/OpenIddictContext.cs @@ -1,4 +1,10 @@ -using System; +/* + * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * See https://github.com/openiddict/core for more information concerning + * the license and the contributors participating to this project. + */ + +using System; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Data.Entity; using OpenIddict.Models; diff --git a/src/OpenIddict/OpenIddictController.cs b/src/OpenIddict/OpenIddictController.cs index 194137f9..0528bf3a 100644 --- a/src/OpenIddict/OpenIddictController.cs +++ b/src/OpenIddict/OpenIddictController.cs @@ -1,4 +1,10 @@ -using System; +/* + * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * See https://github.com/openiddict/core for more information concerning + * the license and the contributors participating to this project. + */ + +using System; using System.Linq; using System.Security.Claims; using System.Threading; diff --git a/src/OpenIddict/OpenIddictDefaults.cs b/src/OpenIddict/OpenIddictDefaults.cs index 49ec35a2..00c453ac 100644 --- a/src/OpenIddict/OpenIddictDefaults.cs +++ b/src/OpenIddict/OpenIddictDefaults.cs @@ -1,4 +1,10 @@ -namespace OpenIddict { +/* + * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * See https://github.com/openiddict/core for more information concerning + * the license and the contributors participating to this project. + */ + +namespace OpenIddict { public static class OpenIddictDefaults { /// /// Gets the default authentication scheme used by OpenIddict. diff --git a/src/OpenIddict/OpenIddictExtensions.cs b/src/OpenIddict/OpenIddictExtensions.cs index db6ce450..ec7c763a 100644 --- a/src/OpenIddict/OpenIddictExtensions.cs +++ b/src/OpenIddict/OpenIddictExtensions.cs @@ -1,4 +1,10 @@ -using System; +/* + * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * See https://github.com/openiddict/core for more information concerning + * the license and the contributors participating to this project. + */ + +using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Tracing; diff --git a/src/OpenIddict/OpenIddictOptions.cs b/src/OpenIddict/OpenIddictOptions.cs index c2f8a7af..e0bc1b9e 100644 --- a/src/OpenIddict/OpenIddictOptions.cs +++ b/src/OpenIddict/OpenIddictOptions.cs @@ -1,4 +1,10 @@ -using System; +/* + * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * See https://github.com/openiddict/core for more information concerning + * the license and the contributors participating to this project. + */ + +using System; using AspNet.Security.OpenIdConnect.Server; using Microsoft.AspNet.Http; diff --git a/src/OpenIddict/OpenIddictProvider.cs b/src/OpenIddict/OpenIddictProvider.cs index fe093892..50ac8f5a 100644 --- a/src/OpenIddict/OpenIddictProvider.cs +++ b/src/OpenIddict/OpenIddictProvider.cs @@ -1,4 +1,10 @@ -using System; +/* + * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * See https://github.com/openiddict/core for more information concerning + * the license and the contributors participating to this project. + */ + +using System; using System.Diagnostics; using System.IdentityModel.Tokens.Jwt; using System.Linq;