class Aws::SSOOIDC::Types::CreateTokenRequest

@note When making an API call, you may pass CreateTokenRequest

data as a hash:

    {
      client_id: "ClientId", # required
      client_secret: "ClientSecret", # required
      grant_type: "GrantType", # required
      device_code: "DeviceCode", # required
      code: "AuthCode",
      refresh_token: "RefreshToken",
      scope: ["Scope"],
      redirect_uri: "URI",
    }

@!attribute [rw] client_id

The unique identifier string for each client. This value should come
from the persisted result of the RegisterClient API.
@return [String]

@!attribute [rw] client_secret

A secret string generated for the client. This value should come
from the persisted result of the RegisterClient API.
@return [String]

@!attribute [rw] grant_type

Supports grant types for authorization code, refresh token, and
device code request.
@return [String]

@!attribute [rw] device_code

Used only when calling this API for the device code grant type. This
short-term code is used to identify this authentication attempt.
This should come from an in-memory reference to the result of the
StartDeviceAuthorization API.
@return [String]

@!attribute [rw] code

The authorization code received from the authorization service. This
parameter is required to perform an authorization grant request to
get access to a token.
@return [String]

@!attribute [rw] refresh_token

The token used to obtain an access token in the event that the
access token is invalid or expired. This token is not issued by the
service.
@return [String]

@!attribute [rw] scope

The list of scopes that is defined by the client. Upon
authorization, this list is used to restrict permissions when
granting an access token.
@return [Array<String>]

@!attribute [rw] redirect_uri

The location of the application that will receive the authorization
code. Users authorize the service to send the request to this
location.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateTokenRequest AWS API Documentation

Constants

SENSITIVE