You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ public void ConfigureServices(IServiceCollection services)
43
43
);
44
44
}
45
45
```
46
-
This feature is not supported by NoSQL data providers and limited to `MsSqlServerProvider`, `MySqlProvider` and `PostgreSqlProvider`.
46
+
This feature is not supported by NoSQL data providers and is limited to `MsSqlServerProvider`, `MySqlProvider` and `PostgreSqlProvider`.
47
47
48
48
In the `Startup.Configure` method, enable the middleware for serving the log UI. Place a call to the `UseSerilogUi` middleware after authentication and authorization middlewares, otherwise authentication may not work for you:
49
49
@@ -76,7 +76,7 @@ Options can be found in the [UIOptions](src/Serilog.Ui.Web/Extensions/UiOptions.
76
76
77
77
### Authorization
78
78
79
-
By default serilog-ui allows access to the log page only for local requests. In order to give appropriate rights for production use, you need to configure authorization. You can add your own implementations of the `IUiAuthorizationFilter` interface, whose Authorize method is used to allow or prohibit a request. The first step is to provide your own implementation.:
79
+
By default serilog-ui allows access to the log page only for local requests. In order to give appropriate rights for production use, you need to configure authorization. You can add your own implementations of the `IUiAuthorizationFilter` interface, whose Authorize method is used to allow or prohibit a request. The first step is to provide your own implementation:
@@ -93,7 +93,7 @@ public void Configure(IApplicationBuilder appBuilder)
93
93
}
94
94
```
95
95
96
-
If you set `AuthenticationType` to `Jwt`, you can set a jwt token and an `Authorization` header will be added to the request and for `Cookie` just login into you website and no extra step is required.
96
+
If you set `AuthenticationType` to `Jwt`, you can set a JWT token and an `Authorization` header will be added to the request and for `Cookie` just login into your website and no extra step is required.
97
97
98
98
Here is an example of how you can implement your own authentication and authorization:
99
99
@@ -259,4 +259,4 @@ To run the tests, open a terminal in src/Serilog.Ui.Web/ and launch this command
0 commit comments