Class AuthorizationPolicyDescriptor
Namespace: Cephalon.Abstractions.Authorization
Assembly: Cephalon.Abstractions.dll
Describes one authorization policy surface contributed to the active runtime.
public sealed class AuthorizationPolicyDescriptorInheritance
Section titled “Inheritance”object ← AuthorizationPolicyDescriptor
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”AuthorizationPolicyDescriptor(string, string, string, IReadOnlyList<AuthorizationMode>?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)
Section titled “ AuthorizationPolicyDescriptor(string, string, string, IReadOnlyList<AuthorizationMode>?, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)”Creates a new authorization policy descriptor.
public AuthorizationPolicyDescriptor(string id, string displayName, string description, IReadOnlyList<AuthorizationMode>? modes = null, IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”id string
The stable authorization-policy identifier.
displayName string
The operator-facing authorization-policy name.
description string
The human-readable authorization-policy description.
modes IReadOnlyList<AuthorizationMode>?
The authorization modes supported by the policy.
tags IReadOnlyList<string>?
Optional descriptive tags associated with the policy.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata associated with the policy.
Properties
Section titled “Properties”Description
Section titled “ Description”Gets the human-readable authorization-policy description.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the operator-facing authorization-policy name.
public string DisplayName { get; }Property Value
Section titled “Property Value”Gets the stable authorization-policy identifier.
public string Id { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets operator-facing metadata associated with the policy.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Gets the authorization modes supported by the policy.
public IReadOnlyList<AuthorizationMode> Modes { get; }Property Value
Section titled “Property Value”IReadOnlyList<AuthorizationMode>
Gets descriptive tags associated with the policy.
public IReadOnlyList<string> Tags { get; }