Skip to content

Commit

Permalink
Merge pull request #16 from alexhiggins732/feature/implicit-usings
Browse files Browse the repository at this point in the history
Feature/implicit usings
  • Loading branch information
alexhiggins732 authored Feb 15, 2024
2 parents 759b6a6 + 24e457a commit e60b751
Show file tree
Hide file tree
Showing 1,123 changed files with 3,789 additions and 8,750 deletions.
11 changes: 11 additions & 0 deletions LicenseHeader.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/

Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.

Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code and license this software can be found

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
9 changes: 3 additions & 6 deletions samples/Clients/old/Constants/ConsoleExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using System;
Expand Down Expand Up @@ -63,4 +60,4 @@ public static void ColoredWriteLine(this string text, ConsoleColor color)
Console.ResetColor();
}
}
}
}
11 changes: 4 additions & 7 deletions samples/Clients/old/Constants/Constants.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

namespace Clients
Expand All @@ -23,4 +20,4 @@ public class Constants
public const string SampleApi = "https://localhost:5005/";
public const string SampleApiMtls = "https://api.identityserver.local/";
}
}
}
7 changes: 2 additions & 5 deletions samples/Clients/old/Constants/TokenResponseExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using IdentityModel;
Expand Down
9 changes: 3 additions & 6 deletions samples/Clients/old/MvcHybrid/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Clients;
Expand Down Expand Up @@ -107,4 +104,4 @@ public IActionResult Error()
return View();
}
}
}
}
9 changes: 3 additions & 6 deletions samples/Clients/old/MvcHybrid/Program.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Microsoft.AspNetCore;
Expand Down
7 changes: 2 additions & 5 deletions samples/Clients/old/MvcHybrid/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Microsoft.AspNetCore.Authentication;
Expand Down Expand Up @@ -40,4 +37,4 @@ public static AuthenticationBuilder AddAutomaticTokenManagement(this Authenticat
return builder;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Microsoft.AspNetCore.Authentication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Microsoft.AspNetCore.Authentication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using System;
Expand All @@ -23,4 +20,4 @@ public class AutomaticTokenManagementOptions
public TimeSpan RefreshBeforeExpiration { get; set; } = TimeSpan.FromMinutes(1);
public bool RevokeRefreshTokenOnSignout { get; set; } = true;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using IdentityModel.Client;
Expand Down Expand Up @@ -93,4 +90,4 @@ private async Task<OpenIdConnectOptions> GetOidcOptionsAsync()
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Clients;
Expand Down Expand Up @@ -69,4 +66,4 @@ public IActionResult Error()
return View();
}
}
}
}
7 changes: 2 additions & 5 deletions samples/Clients/old/MvcHybridAutomaticRefresh/Program.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Clients;
Expand Down
7 changes: 2 additions & 5 deletions samples/Clients/old/MvcHybridAutomaticRefresh/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Clients;
Expand Down
9 changes: 3 additions & 6 deletions samples/Clients/old/MvcImplicit/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Microsoft.AspNetCore.Mvc;
Expand Down
11 changes: 4 additions & 7 deletions samples/Clients/old/MvcImplicit/Program.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
/*
Copyright (c) 2024 HigginsSoft
Written by Alexander Higgins https://github.com/alexhiggins732/
/*
Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/
Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8
Source code and license this software can be found
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/

using Microsoft.AspNetCore;
Expand All @@ -30,4 +27,4 @@ public static IWebHost BuildWebHost(string[] args) =>
.UseStartup<Startup>()
.Build();
}
}
}
Loading

0 comments on commit e60b751

Please sign in to comment.