AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.Runtime
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class SSOAWSCredentialsOptions
The SSOAWSCredentialsOptions type exposes the following members
Name | Description | |
---|---|---|
SSOAWSCredentialsOptions() |
Name | Type | Description | |
---|---|---|---|
ClientName | System.String |
Required - Name of the application or system used during SSO client registration. A timestamp indicating when the client was registered will be appended to requests made to the SSOOIDC service. |
|
PkceFlowOptions | Amazon.Runtime.SharedInterfaces.PkceFlowOptions |
This property MUST be specified if the client wishes to use the Authorization Code Flow with PKCE (if null, the SSO Token Manager will default to the Device Authorization Flow). |
|
ProxySettings | System.Net.WebProxy |
The proxy settings to use when calling SSOOIDC and SSO Services. |
|
Scopes | System.Collections.Generic.IList<System.String> |
The SSO scopes that are provided for authorization when using AWS SSO. |
|
SessionName | System.String |
The name of the sso_session section in the shared configuration file specified to be used when loading the token. |
|
SsoVerificationCallback | System.Action<Amazon.Runtime.SsoVerificationArguments> |
A callback that is used to initiate the SSO Login flow with the user. |
|
SupportsGettingNewToken | System.Boolean |
This field controls whether a new sso token will be generated if a valid cached token or refreshable token is not found. Iftrue and a valid cached token or refreshable token is not found then
sso authorization flow is started, a new token is generated and the result is cached.
If false and a valid cached token or refreshable token is not found, an exception is thrown.
NOTE: If setting to true , either Amazon.Runtime.SSOAWSCredentialsOptions.SsoVerificationCallback or Amazon.Runtime.SSOAWSCredentialsOptions.PkceFlowOptions must
also be set for authorization flow to succeed.
|
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5