TSSOOIDCCreateTokenRequest
Class in AWS.SSOOIDC
CreateToken request class.
Ancestors
Properties
clientId
property clientId: string
clientSecret
property clientSecret: string
code
property code: string
codeVerifier
property codeVerifier: string
deviceCode
property deviceCode: string
grantType
property grantType: string
redirectUri
property redirectUri: string
refreshToken
property refreshToken: string
scope
property scope: TList<string>
Constructors
Create
constructor Create(const AClientId, AClientSecret, AGrantType: string; const ADeviceCode: string = '');
Creates a new CreateToken request used to exchange a supported OAuth2 grant for an access token (and optionally a refresh token). This constructor sets the required client credentials and grant type.
Parameters
| Name | Description |
|---|---|
AClientId | The client identifier registered with IAM Identity Center. |
AClientSecret | The client secret associated with the registered client. Required for confidential clients. |
AGrantType | The OAuth2 grant type to use in the token request. Common values include:,, and. |
ADeviceCode | Optionally, specify the short-term code used to identify this authentication attempt. Only used when using the device code grant type. |