fix anchor link to handler registration (#4690)
parent
ab286b5adf
commit
21ff2c2e27
|
@ -16,7 +16,7 @@ uid: security/authorization/dependencyinjection
|
|||
|
||||
<a name="security-authorization-di"></a>
|
||||
|
||||
[Authorization handlers must be registered](policies.md#security-authorization-policies-based-handler-registration) in the service collection during configuration (using [dependency injection](../../fundamentals/dependency-injection.md#fundamentals-dependency-injection)).
|
||||
[Authorization handlers must be registered](policies.md#handler-registration) in the service collection during configuration (using [dependency injection](../../fundamentals/dependency-injection.md#fundamentals-dependency-injection)).
|
||||
|
||||
Suppose you had a repository of rules you wanted to evaluate inside an authorization handler and that repository was registered in the service collection. Authorization will resolve and inject that into your constructor.
|
||||
|
||||
|
|
Loading…
Reference in New Issue