You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SSOOIDC::Types::CreateTokenRequestWhen passing CreateTokenRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
client_id: "ClientId", client_secret: "ClientSecret", grant_type: "GrantType", device_code: "DeviceCode", code: "AuthCode",
refresh_token: "RefreshToken",
scope: ["Scope"],
redirect_uri: "URI",
}
Instance Attribute Summary collapse
The unique identifier string for each client.
A secret string generated for the client.
The authorization code received from the authorization service.
Used only when calling this API for the device code grant type.
Supports grant types for authorization code, refresh token, and device code request.
The location of the application that will receive the authorization code.
The token used to obtain an access token in the event that the access token is invalid or expired.
The list of scopes that is defined by the client.
The unique identifier string for each client. This value should come from the persisted result of the RegisterClient API.
#client_secret ⇒ StringA secret string generated for the client. This value should come from the persisted result of the RegisterClient API.
#code ⇒ StringThe authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.
#device_code ⇒ StringUsed 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.
#grant_type ⇒ StringSupports grant types for authorization code, refresh token, and device code request.
#redirect_uri ⇒ StringThe location of the application that will receive the authorization code. Users authorize the service to send the request to this location.
#refresh_token ⇒ StringThe 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.
#scope ⇒ Array<String>The list of scopes that is defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4