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
SubjectIdstringThe governance actor identifier the token is issued to.
OperationNamestringThe governed operation name, as endpoint governance reports it.
ScopesIReadOnlyList<string>The capability scopes the token grants.
PayloadFieldsIReadOnlyCollection<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
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
Scopes
The capability scopes the token grants.
public IReadOnlyList<string> Scopes { get; init; }
Property Value
SubjectId
The governance actor identifier the token is issued to.
public string SubjectId { get; init; }