22.128. Class ServicesPermissions
Namespace: ArmoniK.Core.Common.Auth.Authorization.Permissions
Assembly: ArmoniK.Core.Common.dll
Permissions related to each service
public static class ServicesPermissions
22.128.1. Inheritance
22.128.2. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.128.3. Fields
22.128.3.1. All
Represents a wildcard permission that applies to all services.
public const string All = "*"
22.128.3.1.1. Field Value
22.128.3.2. Default
Represents the default permission name used when no specific service is matched.
public const string Default = "Default"
22.128.3.2.1. Field Value
22.128.3.3. PermissionsLists
Dictionary with the list of permissions for each service
public static readonly ImmutableDictionary<string, ImmutableList<Permission>> PermissionsLists
22.128.3.3.1. Field Value
22.128.3.4. Type2NameMapping
Maps service types to their corresponding permission names. Used to resolve the permission name associated with each gRPC service type.
public static readonly ReadOnlyDictionary<Type, string> Type2NameMapping
22.128.3.4.1. Field Value
22.128.4. Methods
22.128.4.1. FromType(Type)
Determines the service name from the given service type
public static string FromType(Type t)
22.128.4.1.1. Parameters
t Type
Type of the service
22.128.4.1.2. Returns
Name of the service used in permissions