[Blazor] Remove obsolete APIs from Components#16
Conversation
Co-authored-by: javiercn <6995051+javiercn@users.noreply.github.com>
🤖 Augment PR SummarySummary: This PR removes a set of obsolete Blazor/Components public APIs and related back-compat code paths. Changes:
Technical Notes: The primary behavior changes are confined to WebAssembly authentication/logout and access-token redirect paths; the rest are API surface cleanups with corresponding API-compat annotations. 🤖 Was this summary useful? React with 👍 or 👎 |
| public void Redirect() | ||
| { | ||
| if (_tokenResult.InteractionOptions != null && _tokenResult.InteractiveRequestUrl != null) | ||
| if (_tokenResult.InteractionOptions != null) |
There was a problem hiding this comment.
AccessTokenResult.InteractiveRequestUrl is nullable, but the null-check for it was removed here; this can now pass a null URL into NavigateToLogin (or hit the ! in the else branch) and throw at runtime. Consider ensuring InteractiveRequestUrl is non-null before navigating (especially since Redirect() can be called regardless of Status).
🤖 Was this useful? React with 👍 or 👎
Benchmark PR from qodo-benchmark#88