diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-01-23 11:41:42 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-01-23 14:33:05 +0100 |
| commit | ce86d103039b22695b04714ee85e9ef3e1e032b5 (patch) | |
| tree | 557455780de06ceb95dd556ca5ffca0208a1f8ba /src/server/Startup.cs | |
| parent | 89816382424e59ad953b433fbf82c925741b3136 (diff) | |
| download | bookmark-thing-ce86d103039b22695b04714ee85e9ef3e1e032b5.tar.xz bookmark-thing-ce86d103039b22695b04714ee85e9ef3e1e032b5.zip | |
feat(auth): Implements first draft of basic auth gen/validation
Diffstat (limited to 'src/server/Startup.cs')
| -rw-r--r-- | src/server/Startup.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/Startup.cs b/src/server/Startup.cs index 8fd6955..f96d23b 100644 --- a/src/server/Startup.cs +++ b/src/server/Startup.cs @@ -83,10 +83,10 @@ public class Startup Name = "Authorization", Type = SecuritySchemeType.ApiKey, Scheme = "Basic", - BearerFormat = "Custom", + BearerFormat = "Basic", In = ParameterLocation.Header, Description = - "Enter your token in the text input below.\r\n\r\nExample: \"12345abcdef\"", + "Enter your token in the text input below.\r\n\r\nExample: \"Basic 12345abcdef\"", }); options.AddSecurityRequirement(new OpenApiSecurityRequirement { |
