File tree Expand file tree Collapse file tree
blazor-jwt_generator-dotnet10 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using Azure . Identity ;
1+ using Microsoft . AspNetCore . Mvc ;
2+ using Azure . Identity ;
23using Azure . Security . KeyVault . Secrets ;
34using blazor_jwt_generator_dotnet10 . Models ;
45using Microsoft . IdentityModel . Tokens ;
56using System . Security . Cryptography ;
67using System . Security . Cryptography . X509Certificates ;
7- using Microsoft . AspNetCore . Mvc ;
88using Newtonsoft . Json ;
99
1010namespace 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 ;
Original file line number Diff line number Diff line change 11using System . Security . Cryptography ;
22using System . Security . Cryptography . X509Certificates ;
3+ using Newtonsoft . Json ;
4+ using Microsoft . IdentityModel . Tokens ;
35
46namespace blazor_jwt_generator_dotnet10 . Models
57{
Original file line number Diff line number Diff line change 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 {
You can’t perform that action at this time.
0 commit comments