Table of Contents

Class SsoToken

Namespace
Amazon.Runtime.Credentials.Internal
Assembly
AWSSDK.Core.dll

An SsoToken is used by the SSOAWSCredentials provider to request permission to get credentials and by the SSOTokenProvider when a Service is using BearerTokenSigner.

SsoTokens are persisted using SSOTokenManager.
public class SsoToken
Inheritance
SsoToken
Inherited Members
Extension Methods

Remarks

This class is meant to be used internally. It may be projected to a AWSToken

Constructors

SsoToken()

public SsoToken()

Properties

AccessToken

Token string returned by the SSOOIDC service (IAmazonSSOOIDC).

public string AccessToken { get; set; }

Property Value

string

ClientId

The client ID generated when performing the registration portion of the OIDC authorization flow. The clientId is used alongside the RefreshToken to refresh the AccessToken.

public string ClientId { get; set; }

Property Value

string

ClientSecret

he client secret generated when performing the registration portion of the OIDC authorization flow. The ClientSecret is used alongside the RefreshToken to refresh the AccessToken.

public string ClientSecret { get; set; }

Property Value

string

ExpiresAt

Expiration time of AccessToken

public DateTime ExpiresAt { get; set; }

Property Value

DateTime

RefreshToken

An opaque string returned by the sso-oidc service.

public string RefreshToken { get; set; }

Property Value

string

Region

The configured sso_region for the profile that credentials are being resolved for.

public string Region { get; set; }

Property Value

string

RegistrationExpiresAt

The expiration time of the client registration (ClientId and ClientSecret) as an RFC 3339 formatted timestamp.

public string RegistrationExpiresAt { get; set; }

Property Value

string

Session

The configured sso_session for the profile that credentials are being resolved for.

public string Session { get; set; }

Property Value

string

StartUrl

The configured sso_start_url for the profile that credentials are being resolved for.

public string StartUrl { get; set; }

Property Value

string