Skip to content

Commit 1ca46d3

Browse files
committed
Add missing line breaks for clarity in BFF options documentation
1 parent b19adea commit 1ca46d3

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

astro/src/content/docs/bff/fundamentals/options.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,20 @@ builder.Services.AddBff(options =>
4343
The ASP.NET environment names that enable the diagnostics endpoint. Defaults to "Development".
4444

4545
* ***BackChannelHttpHandler***
46+
4647
A HTTP message handler that's used to configure backchannel communication. Typically used during testing. Configuring this will automatically configure the BackChannelHttpHandler property in _OpenIDConnectOptions_ and also set it as the primary http message handler for retrieving the index.html.
4748

4849
* ***AutomaticallyRegisterBffMiddleware*** (added in 4.0)
50+
4951
When applying BFF V4 multiple frontends, a lot of middlewares get automatically added to the pipeline. For example, the frontend selection middleware, the authentication handlers, etc. If you don't want this automatic behavior, then you can turn it off and register these middlewares manually.
5052

5153

5254
* ***StaticAssetsClientName***
55+
5356
If BFF is configured to automatically retrieve the `index.html`, or to proxy the static assets, it needs an HTTP client to do so. With this name, you can automatically configure this HTTP client in the `HttpClientFactory`.
5457

5558
* ***AllowedSilentLoginReferers***
59+
5660
For silent login to work, you normally need to have the BFF backend and the frontend on the same origin. If you have a split host scenario, meaning the backend on a different origin (but same site) as the frontend, then you can use the referer header to differentiate which browser window to post the silent login results to. This array must then contain the list of allowed referer header values.
5761

5862
## Paths
@@ -162,6 +166,7 @@ builder.Services.AddBlazorServer(opt =>
162166
The following options are available:
163167

164168
* ***ServerStateProviderPollingInterval***
169+
165170
The delay, in milliseconds, between polling requests by the
166171
BffServerAuthenticationStateProvider to the /bff/user endpoint. Defaults to 5000
167172
ms.
@@ -180,13 +185,16 @@ builder.Services.AddBffBlazorClient(opt =>
180185
The following options are available:
181186

182187
* ***RemoteApiPath***
188+
183189
The base path to use for remote APIs.
184190

185191
* ***RemoteApiBaseAddress***
192+
186193
The base address to use for remote APIs. If unset (the default), the
187194
blazor hosting environment's base address is used.
188195

189196
* ***StateProviderBaseAddress***
197+
190198
The base address to use for the state provider's calls to the /bff/user
191199
endpoint. If unset (the default), the blazor hosting environment's base
192200
address is used.
@@ -197,6 +205,7 @@ The following options are available:
197205
start polling the /bff/user endpoint. Defaults to 1000 ms.
198206

199207
* ***WebAssemblyStateProviderPollingInterval***
208+
200209
The delay, in milliseconds, between polling requests by the
201210
BffClientAuthenticationStateProvider to the /bff/user endpoint. Defaults to 5000
202211
ms.

0 commit comments

Comments
 (0)