Class SystemRoleRegistry
Maps app/global role names to system scopes. Role names are matched case-insensitively.
public class SystemRoleRegistry : ISystemRoleRegistry
- Inheritance
-
SystemRoleRegistry
- Implements
- Inherited Members
Properties
All
public IReadOnlyDictionary<string, string[]> All { get; }
Property Value
Methods
GetScopesForRoles(IEnumerable<string>)
Returns the distinct system scopes granted by the given role names.
public IReadOnlyList<string> GetScopesForRoles(IEnumerable<string> roleNames)
Parameters
roleNamesIEnumerable<string>
Returns
Map(string, params string[])
public void Map(string roleName, params string[] systemScopes)