Class TenantRoleServiceCollectionExtensions
Extension methods for registering tenant roles.
public static class TenantRoleServiceCollectionExtensions
- Inheritance
-
TenantRoleServiceCollectionExtensions
- Inherited Members
Methods
AddThargaTenantRoles(IServiceCollection, Action<TenantRoleRegistry>)
Registers the tenant role registry and configures roles. Links to the scope registry so effective scopes include role scopes.
public static IServiceCollection AddThargaTenantRoles(this IServiceCollection services, Action<TenantRoleRegistry> configure)
Parameters
servicesIServiceCollectionconfigureAction<TenantRoleRegistry>