Table of Contents

Class CapabilityGrantBindingExpectations

Namespace
AsiBackbone.Core.CapabilityGrants
Assembly
AsiBackbone.Core.dll

Provides authoritative subject and operation expectations for capability-grant execution validation.

public sealed class CapabilityGrantBindingExpectations
Inheritance
CapabilityGrantBindingExpectations
Inherited Members

Properties

OperationName

Gets the requested operation that must match the grant, when required.

public string? OperationName { get; }

Property Value

string

SubjectId

Gets the authenticated subject that must match the grant.

public string SubjectId { get; }

Property Value

string

Methods

Create(string, string?)

Creates execution-binding expectations from authoritative host context.

public static CapabilityGrantBindingExpectations Create(string subjectId, string? operationName = null)

Parameters

subjectId string
operationName string

Returns

CapabilityGrantBindingExpectations