Table of Contents

Class SSOTokenManagerGetTokenOptions

Namespace
Amazon.Runtime.Credentials.Internal
Assembly
AWSSDK.Core.dll
public class SSOTokenManagerGetTokenOptions
Inheritance
SSOTokenManagerGetTokenOptions
Inherited Members

Constructors

SSOTokenManagerGetTokenOptions()

public SSOTokenManagerGetTokenOptions()

Properties

CacheFolderLocation

Set to override the sso cache location. Leave null to use the Default

public string CacheFolderLocation { get; set; }

Property Value

string

ClientName

public string ClientName { get; set; }

Property Value

string

ClientType

public string ClientType { get; set; }

Property Value

string

Region

public string Region { get; set; }

Property Value

string

Scopes

public IList<string> Scopes { get; set; }

Property Value

IList<string>

Session

public string Session { get; set; }

Property Value

string

SsoVerificationCallback

public Action<SsoVerificationArguments> SsoVerificationCallback { get; set; }

Property Value

Action<SsoVerificationArguments>

StartUrl

public string StartUrl { get; set; }

Property Value

string

SupportsGettingNewToken

This field controls how SSOTokenManager should behave if it does not find a valid or refreshable token.

If true, then SSOTokenManager will use to start an authorization flow and mint a new token and cache the result. If false SSOTokenManager will throw an exception if it finds an expired token. It will take no action if finds no cached token.

NOTE: If setting to true, SsoVerificationCallback must also be set for authorization flow to succeed.
public bool SupportsGettingNewToken { get; set; }

Property Value

bool