mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-14 21:04:27 +01:00
add BASIC Auth (#22)
This commit is contained in:
1 parent
ba86d81a17
commit
bb35f55bbb
4 files changed
+58
-18
No files matched your search
@@ -19,6 +19,8 @@ namespace WireMock.Net.ConsoleApplication
|
||||
var server = FluentMockServer.StartWithAdminInterface(url1, url2, url3);
|
||||
Console.WriteLine("FluentMockServer listening at {0}", string.Join(" and ", server.Urls));
|
||||
|
||||
server.SetBasicAuthentication("a", "b");
|
||||
|
||||
server.AllowPartialMapping();
|
||||
|
||||
server
|
||||
|
||||
Reference in new issue
Block a user