* update snippets

* update snippets
pull/105/head
Rick Anderson 2022-10-14 16:47:07 -10:00 committed by GitHub
parent 3e4ab6ad48
commit 6ce135eded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#define TOKEN // FIRST ADMIN FIXED SLIDING CONCUR TOKEN FIXED2 JWT
#define FIRST // FIRST ADMIN FIXED SLIDING CONCUR TOKEN FIXED2 JWT
#if NEVER
#elif FIXED
// <snippet_fixed>
@ -167,6 +167,8 @@ app.Run();
// </snippet_token>
#elif FIRST
// <snippet_1>
// <snippet>
// Preceding code removed for brevity.
using System.Globalization;
using System.Net;
using System.Threading.RateLimiting;
@ -278,9 +280,6 @@ app.UseStaticFiles();
app.UseRouting();
app.UseRateLimiter();
// <snippet>
// Preceding code removed for brevity.
app.UseAuthentication();
app.UseAuthorization();