aspnetcore/src/Security/Authorization
Ryan Nowak 1360d6559e
Add AddOptions to AddAuthorizationCore (#18911)
Fixes: #18471

AddAuthorizationCore previously assumed that options were already
registered. This isn't the case in 5.0 in Blazor WASM.

We don't want Blazor to register options in the default host because it
prevents options from being linked out.

note: we will have some remaining work for this issue after this change
is merged. The Blazor WASM hosting changes haven't landed in master yet,
so we'll need to update that code to remove options from the host.
2020-02-25 21:57:19 +00:00
..
Core Add AddOptions to AddAuthorizationCore (#18911) 2020-02-25 21:57:19 +00:00
Policy
test