Skip to content

Commit d3d4d62

Browse files
Update generated code (#1838)
update generated code
1 parent 8316401 commit d3d4d62

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 1.0.0
610

711
First version

src/Input/CreateTokenRequest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,39 +29,39 @@ final class CreateTokenRequest extends Input
2929
private $clientSecret;
3030

3131
/**
32-
* Supports the following OAuth grant types: Device Code and Refresh Token. Specify either of the following values,
33-
* depending on the grant type that you want:
32+
* Supports the following OAuth grant types: Authorization Code, Device Code, and Refresh Token. Specify one of the
33+
* following values, depending on the grant type that you want:
34+
*
35+
* * Authorization Code - `authorization_code`
3436
*
3537
* * Device Code - `urn:ietf:params:oauth:grant-type:device_code`
3638
*
3739
* * Refresh Token - `refresh_token`
3840
*
39-
* For information about how to obtain the device code, see the StartDeviceAuthorization topic.
40-
*
4141
* @required
4242
*
4343
* @var string|null
4444
*/
4545
private $grantType;
4646

4747
/**
48-
* Used only when calling this API for the Device Code grant type. This short-term code is used to identify this
48+
* Used only when calling this API for the Device Code grant type. This short-lived code is used to identify this
4949
* authorization request. This comes from the result of the StartDeviceAuthorization API.
5050
*
5151
* @var string|null
5252
*/
5353
private $deviceCode;
5454

5555
/**
56-
* Used only when calling this API for the Authorization Code grant type. The short-term code is used to identify this
57-
* authorization request. This grant type is currently unsupported for the CreateToken API.
56+
* Used only when calling this API for the Authorization Code grant type. The short-lived code is used to identify this
57+
* authorization request.
5858
*
5959
* @var string|null
6060
*/
6161
private $code;
6262

6363
/**
64-
* Used only when calling this API for the Refresh Token grant type. This token is used to refresh short-term tokens,
64+
* Used only when calling this API for the Refresh Token grant type. This token is used to refresh short-lived tokens,
6565
* such as the access token, that might expire.
6666
*
6767
* For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see

src/SsoOidcClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SsoOidcClient extends AbstractApi
2626
{
2727
/**
2828
* Creates and returns access and refresh tokens for clients that are authenticated using client secrets. The access
29-
* token can be used to fetch short-term credentials for the assigned AWS accounts or to access application APIs using
29+
* token can be used to fetch short-lived credentials for the assigned AWS accounts or to access application APIs using
3030
* `bearer` authentication.
3131
*
3232
* @see https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html

0 commit comments

Comments
 (0)