Table of Contents

Class TokenGrantSubjectToken

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

Subject token for a token-exchange grant.

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

Constructors

TokenGrantSubjectToken(string, string, string)

Subject token for a token-exchange grant.

public TokenGrantSubjectToken(string Source, string Credential, string SubjectTokenType = "")

Parameters

Source string

Where the subject token comes from, for example provider_credential.

Credential string

The provider credential key that stores the subject token.

SubjectTokenType string

The OAuth2 subject_token_type; empty uses urn:ietf:params:oauth:token-type:access_token.

Properties

Credential

The provider credential key that stores the subject token.

public string Credential { get; init; }

Property Value

string

Source

Where the subject token comes from, for example provider_credential.

public string Source { get; init; }

Property Value

string

SubjectTokenType

The OAuth2 subject_token_type; empty uses urn:ietf:params:oauth:token-type:access_token.

public string SubjectTokenType { get; init; }

Property Value

string