Table of Contents

Interface IScopeRegistry

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Registry of all known scopes. Used at runtime to resolve effective scopes for an access level.

public interface IScopeRegistry

Properties

All

IReadOnlyList<ScopeDefinition> All { get; }

Property Value

IReadOnlyList<ScopeDefinition>

Methods

GetEffectiveScopes(AccessLevel, IEnumerable<string>, IEnumerable<string>)

IReadOnlyList<string> GetEffectiveScopes(AccessLevel accessLevel, IEnumerable<string> roleNames, IEnumerable<string> scopeOverrides = null)

Parameters

accessLevel AccessLevel
roleNames IEnumerable<string>
scopeOverrides IEnumerable<string>

Returns

IReadOnlyList<string>

GetScopesForAccessLevel(AccessLevel)

IReadOnlyList<string> GetScopesForAccessLevel(AccessLevel accessLevel)

Parameters

accessLevel AccessLevel

Returns

IReadOnlyList<string>