Skip to content

Commit 144b072

Browse files
committed
added placeholders for basic auth
1 parent 009eadc commit 144b072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Extensions/RestApia.Extensions.Auth.Basic/BasicAuthService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public class BasicAuthService: IAuthValuesProvider
1818
CanBeCached = false,
1919
ReservedValues =
2020
[
21-
new () { Name = nameof(BasicAuthSettings.Name), Description = "User name" },
22-
new () { Name = nameof(BasicAuthSettings.Password), Description = "User Password" },
21+
new () { Name = nameof(BasicAuthSettings.Name), Description = "User name", IsRequired = true, Placeholder = "User" },
22+
new () { Name = nameof(BasicAuthSettings.Password), Description = "User Password", Placeholder = "secret" },
2323
],
2424
};
2525

0 commit comments

Comments
 (0)