Table of Contents

Class IssuedCapabilityToken

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

An issued capability token and the values it is bound to.

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

Constructors

IssuedCapabilityToken(string, string, string, IReadOnlyList<string>, string, DateTimeOffset, DateTimeOffset)

An issued capability token and the values it is bound to.

public IssuedCapabilityToken(string TokenId, string Token, string OperationName, IReadOnlyList<string> Scopes, string ResourceBinding, DateTimeOffset IssuedUtc, DateTimeOffset ExpiresUtc)

Parameters

TokenId string

The unique token identifier recorded in decision evidence when the token is used.

Token string

The encoded token to send in the capability grant request header.

OperationName string

The governed operation the token is bound to.

Scopes IReadOnlyList<string>

The granted capability scopes.

ResourceBinding string

The form-field binding the token is bound to.

IssuedUtc DateTimeOffset

When the token was issued, and when it becomes valid.

ExpiresUtc DateTimeOffset

When the token expires.

Properties

ExpiresUtc

When the token expires.

public DateTimeOffset ExpiresUtc { get; init; }

Property Value

DateTimeOffset

IssuedUtc

When the token was issued, and when it becomes valid.

public DateTimeOffset IssuedUtc { get; init; }

Property Value

DateTimeOffset

OperationName

The governed operation the token is bound to.

public string OperationName { get; init; }

Property Value

string

ResourceBinding

The form-field binding the token is bound to.

public string ResourceBinding { get; init; }

Property Value

string

Scopes

The granted capability scopes.

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

Property Value

IReadOnlyList<string>

Token

The encoded token to send in the capability grant request header.

public string Token { get; init; }

Property Value

string

TokenId

The unique token identifier recorded in decision evidence when the token is used.

public string TokenId { get; init; }

Property Value

string