-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33037 from dotnet/main
Merge to Live
- Loading branch information
Showing
109 changed files
with
76,195 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
aspnetcore/fundamentals/static-files/samples/9.x/StaticFileAuth/JwtAuthenticationOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace StaticFilesAuth; | ||
|
||
public class JwtAuthenticationOptions | ||
{ | ||
public const string Options = "JwtAuthenticationOptions"; | ||
|
||
public string ValidIssuer { get; set; } | ||
public string ValidAudience { get; set; } | ||
public string SymmetricSecurityKey { get; set; } | ||
public bool ValidateIssuer { get; set; } | ||
public bool ValidateAudience { get; set; } | ||
public bool ValidateLifetime { get; set; } | ||
public bool ValidateIssuerSigningKey { get; set; } | ||
public int TokenExpirationInMinutes { get; set; } | ||
} |
Binary file added
BIN
+3.96 KB
...es/samples/9.x/StaticFileAuth/PrivateFiles/095994c0ed144d90a68a6eda794e545d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.