Table of Contents

Class CapabilityTokenIssueRequest

Namespace
ReferenceApplication.Web.Governance
Assembly
ReferenceApplication.Web.dll

Describes what a capability token is bound to.

public sealed record CapabilityTokenIssueRequest : IEquatable<CapabilityTokenIssueRequest>
Inheritance
CapabilityTokenIssueRequest
Implements
Inherited Members

Constructors

CapabilityTokenIssueRequest(string, string, IReadOnlyList<string>, IReadOnlyCollection<KeyValuePair<string, StringValues>>)

Describes what a capability token is bound to.

public CapabilityTokenIssueRequest(string SubjectId, string OperationName, IReadOnlyList<string> Scopes, IReadOnlyCollection<KeyValuePair<string, StringValues>> PayloadFields)

Parameters

SubjectId string

The governance actor identifier the token is issued to.

OperationName string

The governed operation name, as endpoint governance reports it.

Scopes IReadOnlyList<string>

The capability scopes the token grants.

PayloadFields IReadOnlyCollection<KeyValuePair<string, StringValues>>

The form fields the governed request will post, excluding the antiforgery and token fields, which the relying endpoint leaves out of the binding.

Properties

OperationName

The governed operation name, as endpoint governance reports it.

public string OperationName { get; init; }

Property Value

string

PayloadFields

The form fields the governed request will post, excluding the antiforgery and token fields, which the relying endpoint leaves out of the binding.

public IReadOnlyCollection<KeyValuePair<string, StringValues>> PayloadFields { get; init; }

Property Value

IReadOnlyCollection<KeyValuePair<string, StringValues>>

Scopes

The capability scopes the token grants.

public IReadOnlyList<string> Scopes { get; init; }

Property Value

IReadOnlyList<string>

SubjectId

The governance actor identifier the token is issued to.

public string SubjectId { get; init; }

Property Value

string