Skip to content

Commit

Permalink
Update file headers
Browse files Browse the repository at this point in the history
  • Loading branch information
leastprivilege committed Sep 9, 2024
1 parent 00f7010 commit 41c89dc
Show file tree
Hide file tree
Showing 86 changed files with 150 additions and 115 deletions.
5 changes: 4 additions & 1 deletion clients/ConsoleClientWithBrowser/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using IdentityModel.OidcClient;
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using IdentityModel.OidcClient;
using Serilog;
using System;
using System.Collections.Generic;
Expand Down
5 changes: 4 additions & 1 deletion clients/ConsoleClientWithBrowser/SystemBrowser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using IdentityModel.OidcClient.Browser;
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using IdentityModel.OidcClient.Browser;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
Expand Down
5 changes: 4 additions & 1 deletion clients/ConsoleClientWithBrowserAndDPoP/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using IdentityModel.OidcClient;
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using IdentityModel.OidcClient;
using Serilog;
using System;
using System.Collections.Generic;
Expand Down
5 changes: 4 additions & 1 deletion clients/ConsoleClientWithBrowserAndDPoP/SystemBrowser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using IdentityModel.OidcClient.Browser;
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using IdentityModel.OidcClient.Browser;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
Expand Down
5 changes: 4 additions & 1 deletion clients/ManualModeConsoleClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using IdentityModel.OidcClient;
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using IdentityModel.OidcClient;
using System.Diagnostics;
using System.Net;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion src/DPoP/DPoPExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System.Linq;
Expand Down
2 changes: 1 addition & 1 deletion src/DPoP/DPoPProof.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

namespace IdentityModel.OidcClient.DPoP;
Expand Down
3 changes: 1 addition & 2 deletions src/DPoP/DPoPProofPayload.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System.Text.Json.Serialization;

namespace IdentityModel.OidcClient.DPoP;
Expand Down
2 changes: 1 addition & 1 deletion src/DPoP/DPoPProofRequest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

namespace IdentityModel.OidcClient.DPoP;
Expand Down
2 changes: 1 addition & 1 deletion src/DPoP/DPoPProofTokenFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using Microsoft.IdentityModel.JsonWebTokens;
Expand Down
2 changes: 1 addition & 1 deletion src/DPoP/JsonWebKeys.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System;
Expand Down
3 changes: 3 additions & 0 deletions src/DPoP/OidcClientExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System.Net.Http;

namespace IdentityModel.OidcClient.DPoP;
Expand Down
2 changes: 1 addition & 1 deletion src/DPoP/ProofTokenMessageHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System;
Expand Down
3 changes: 3 additions & 0 deletions src/DPoP/SourceGenerationContext.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System.Text.Json.Serialization;
using Microsoft.IdentityModel.Tokens;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System;
using System.Collections.Generic;
using System.Security.Claims;
Expand Down
3 changes: 1 addition & 2 deletions src/IdentityTokenValidator/StringExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System.Diagnostics;

namespace IdentityModel.OidcClient
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/AssemblyAttributes.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("OidcClient.Tests, PublicKey = 00240000048000009400000006020000002400005253413100040000010001008b4800109486e0cc76fda47b4467e7f3d9e18c2f59233ed35ab7d1000a38a73e436d73a20d02dbcc124ce63a8d93b9a4efb48c0ca922b3a9888d2757d7eb95e4217f3df14fdd393b03f93876777bcb57c824f20c3bb4e9580ed5a54c09d33295d23b096399b8fa32f6201a1062b8b6796b608c79df0ce733350b8dc3a7b7a6cb")]
3 changes: 1 addition & 2 deletions src/OidcClient/AuthorizeClient.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using IdentityModel.Client;
using IdentityModel.OidcClient.Browser;
using IdentityModel.OidcClient.Infrastructure;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/AuthorizeState.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


namespace IdentityModel.OidcClient
{
/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Browser/BrowserOptions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System;

namespace IdentityModel.OidcClient.Browser
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Browser/BrowserResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


namespace IdentityModel.OidcClient.Browser
{
/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Browser/BrowserResultType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


namespace IdentityModel.OidcClient.Browser
{
/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Browser/DisplayMode.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


namespace IdentityModel.OidcClient.Browser
{
/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Browser/IBrowser.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System.Threading;
using System.Threading.Tasks;

Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/CryptoHelper.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using Microsoft.Extensions.Logging;
using System;
using System.Security.Cryptography;
Expand Down
3 changes: 3 additions & 0 deletions src/OidcClient/IIdentityTokenValidator.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System.Threading;
using System.Threading.Tasks;
using IdentityModel.OidcClient.Results;
Expand Down
2 changes: 1 addition & 1 deletion src/OidcClient/Infrastructure/LogSerializer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

#if NET6_0_OR_GREATER
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Infrastructure/LoggingExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Diagnostics;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Infrastructure/OidcClientOptionsExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System.Net.Http;

namespace IdentityModel.OidcClient.Infrastructure
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Infrastructure/StringExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System.Diagnostics;

namespace IdentityModel.OidcClient
Expand Down
3 changes: 3 additions & 0 deletions src/OidcClient/NoValidationIdentityTokenValidator.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using System.Collections.Generic;
using System.Security.Claims;
using System.Text;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/OidcClient.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using IdentityModel.Client;
using IdentityModel.OidcClient.Infrastructure;
using IdentityModel.OidcClient.Results;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/OidcClientOptions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using IdentityModel.Client;
using IdentityModel.OidcClient.Browser;
using Microsoft.Extensions.Logging;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Policy.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using IdentityModel.Client;
using System.Collections.Generic;

Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/ProviderInformation.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System.Collections.Generic;
using IdentityModel.Jwk;

Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/RefreshTokenDelegatingHandler.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System;
using System.Net;
using System.Net.Http;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Requests/AuthorizeRequest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using IdentityModel.OidcClient.Browser;
using System.Collections.Generic;
using IdentityModel.Client;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Requests/LoginRequest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using IdentityModel.OidcClient.Browser;
using System.Collections.Generic;
using IdentityModel.Client;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Requests/LogoutRequest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using IdentityModel.OidcClient.Browser;

namespace IdentityModel.OidcClient
Expand Down
2 changes: 1 addition & 1 deletion src/OidcClient/ResponseProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using IdentityModel.Client;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Results/AuthorizeResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


namespace IdentityModel.OidcClient.Results
{
internal class AuthorizeResult : Result
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Results/IdentityTokenValidationResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System.Security.Claims;

namespace IdentityModel.OidcClient.Results
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Results/LoginResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System;
using System.Net.Http;
using System.Security.Claims;
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Results/LogoutResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


namespace IdentityModel.OidcClient
{
/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Results/RefreshTokenResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using System;

namespace IdentityModel.OidcClient.Results
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Results/ResponseValidationResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


using IdentityModel.Client;
using System.Security.Claims;

Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Results/Result.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


namespace IdentityModel.OidcClient
{
/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions src/OidcClient/Results/TokenResponseValidationResult.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.


namespace IdentityModel.OidcClient.Results
{
internal class TokenResponseValidationResult : Result
Expand Down
Loading

0 comments on commit 41c89dc

Please sign in to comment.