Table of Contents

Interface ITenantRoleRegistry

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Registry of tenant role definitions. Used at runtime to resolve scopes for assigned roles.

public interface ITenantRoleRegistry

Properties

All

IReadOnlyList<TenantRoleDefinition> All { get; }

Property Value

IReadOnlyList<TenantRoleDefinition>

Methods

Get(string)

TenantRoleDefinition Get(string roleName)

Parameters

roleName string

Returns

TenantRoleDefinition

GetScopesForRoles(IEnumerable<string>)

IReadOnlyList<string> GetScopesForRoles(IEnumerable<string> roleNames)

Parameters

roleNames IEnumerable<string>

Returns

IReadOnlyList<string>