We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3513cc commit 11ca211Copy full SHA for 11ca211
README.md
@@ -38,7 +38,10 @@ begin
38
39
// The default header for receiving credentials is "Authorization".
40
// You can change, if necessary:
41
- // THorse.Use(HorseBasicAuthentication(MyCallbackValidation, 'X-My-Header-Authorization'));
+ // THorse.Use(HorseBasicAuthentication(MyCallbackValidation, THorseBasicAuthenticationConfig.New.Header('X-My-Header-Authorization')));
42
+
43
+ // You can also ignore routes:
44
+ // THorse.Use(HorseBasicAuthentication(MyCallbackValidation, THorseBasicAuthenticationConfig.New.SkipRoutes(['/ping'])));
45
46
THorse.Get('/ping',
47
procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc)
0 commit comments