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
-AndifthiscomponentiscreatedinBlazorWASM, itdoesn't expect any `SessionId`, so `Session.Default.Id` will be used in this case.
397
+
Youcanseethatwhenthiscomponentisinitialized, itsets `SessionProvider.Session` tothevalueitgetsasaparameter– unlesswe're running Blazor WASM. In this case it sets it to `Session.Default`. Any attempt to resolve `Session` (either via `ISessionResolver`, or via service provider) will return this value.
401
398
402
-
Youmaynoticethatthiscomponentwrapsitscontentinto `CascadingAuthState`, whichactuallydoestherestbysetting `ISessionResolver.Session` toa `Session` withthespecified `SessionId`. Inaddition, itmakesBlazorauthenticationtoworkasexpectedaswellbyembeddingits `ChildContent` intoBlazor's `<CascadingAuthenticationState>`. If you are interested in details, see its source:
399
+
Youmaynoticethat`App.razor` wrapsitscontentinto `CascadingAuthState`, whichmakesBlazorauthenticationtoworkasexpectedaswellbyembeddingits `ChildContent` intoBlazor's `<CascadingAuthenticationState>`. If you are interested in details, see its source:
0 commit comments