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
SourcestringWhere the subject token comes from, for example
provider_credential.CredentialstringThe provider credential key that stores the subject token.
SubjectTokenTypestringThe OAuth2
subject_token_type; empty usesurn: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
Source
Where the subject token comes from, for example provider_credential.
public string Source { get; init; }
Property Value
SubjectTokenType
The OAuth2 subject_token_type; empty uses urn:ietf:params:oauth:token-type:access_token.
public string SubjectTokenType { get; init; }