Table of Contents

Interface ISystemRoleRegistry

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Maps app/global roles (e.g. "Developer", "Administrator") to system-level scopes, so privileged users gain those scopes as claims — the user-side counterpart to a system API key's explicit scope list.

public interface ISystemRoleRegistry

Methods

GetScopesForRoles(IEnumerable<string>)

Returns the distinct system scopes granted by the given role names.

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

Parameters

roleNames IEnumerable<string>

Returns

IReadOnlyList<string>