Skip to content

Commit 62f3dd4

Browse files
committed
Usings
1 parent f3211ca commit 62f3dd4

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎blazor-jwt_generator-dotnet10/Controllers/OIDCController.cs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using Azure.Identity;
1+
using Microsoft.AspNetCore.Mvc;
2+
using Azure.Identity;
23
using Azure.Security.KeyVault.Secrets;
34
using blazor_jwt_generator_dotnet10.Models;
45
using Microsoft.IdentityModel.Tokens;
56
using System.Security.Cryptography;
67
using System.Security.Cryptography.X509Certificates;
7-
using Microsoft.AspNetCore.Mvc;
88
using Newtonsoft.Json;
99

1010
namespace blazor_jwt_generator_dotnet10.Controllers
@@ -21,7 +21,7 @@ public OIDCController(IConfiguration config)
2121
configuration = config;
2222
}
2323

24-
[Route(".well-known/openid-configuration")]
24+
[Microsoft.AspNetCore.Mvc.Route(".well-known/openid-configuration")]
2525
public ActionResult Metadata()
2626
{
2727
return Content(JsonConvert.SerializeObject(new OIDCModel
@@ -34,7 +34,7 @@ public ActionResult Metadata()
3434
}), "application/json"); ;
3535
}
3636

37-
[Route(".well-known/keys", Name = "JWKS")]
37+
[Microsoft.AspNetCore.Mvc.Route(".well-known/keys", Name = "JWKS")]
3838
public ActionResult JwksDocument()
3939
{
4040
var SigningCertThumbprint = configuration.GetSection("JWTSettings")["SigningCertThumbprint"] ?? string.Empty;

‎blazor-jwt_generator-dotnet10/Models/JWKSModel.cs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
using System.Security.Cryptography;
22
using System.Security.Cryptography.X509Certificates;
3+
using Newtonsoft.Json;
4+
using Microsoft.IdentityModel.Tokens;
35

46
namespace blazor_jwt_generator_dotnet10.Models
57
{

‎blazor-jwt_generator-dotnet10/Models/OIDCModel.cs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace blazor_jwt_generator_dotnet10.Models
1+
using Newtonsoft.Json;
2+
3+
namespace blazor_jwt_generator_dotnet10.Models
24
{
35
public class OIDCModel
46
{

0 commit comments

Comments
 (0)