Class GovernanceServiceCollectionExtensions
- Namespace
- Microsoft.Extensions.DependencyInjection
- Assembly
- Excalibur.A3.Governance.dll
Extension methods for configuring IAM governance services on IA3Builder.
public static class GovernanceServiceCollectionExtensions
- Inheritance
-
GovernanceServiceCollectionExtensions
- Inherited Members
Methods
AddGovernance(IA3Builder, Action<IGovernanceBuilder>)
Adds IAM governance capabilities to the A3 authorization stack.
public static IA3Builder AddGovernance(this IA3Builder builder, Action<IGovernanceBuilder> configure)
Parameters
builderIA3BuilderThe A3 builder.
configureAction<IGovernanceBuilder>A delegate to configure governance services.
Returns
- IA3Builder
The IA3Builder for fluent chaining.
Remarks
Use the governance builder to enable specific capabilities:
services.AddExcaliburA3Core()
.AddGovernance(g => g
.AddRoles());