api v2.0
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
public class ApiKeyValidationMiddleware
|
||||
{
|
||||
private readonly RequestDelegate _next;
|
||||
private const string APIKEYNAME = "ApiKey";
|
||||
private readonly RequestDelegate _next;
|
||||
|
||||
public ApiKeyValidationMiddleware(RequestDelegate next)
|
||||
{
|
||||
@@ -39,4 +39,4 @@ public class ApiKeyValidationMiddleware
|
||||
|
||||
await _next(context);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user