Skip to content

Commit c24be7b

Browse files
Remove SigV4 auth requirement for GetTokensFromRefreshToken
1 parent 2364e18 commit c24be7b

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

generator/ServiceModels/cognito-idp/cognito-idp-2016-04-18.api.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,9 @@
13291329
{"shape":"ForbiddenException"},
13301330
{"shape":"RefreshTokenReuseException"},
13311331
{"shape":"InternalErrorException"}
1332-
]
1332+
],
1333+
"authtype":"none",
1334+
"auth":["smithy.api#noAuth"]
13331335
},
13341336
"GetUICustomization":{
13351337
"name":"GetUICustomization",

generator/ServiceModels/cognito-idp/cognito-idp-2016-04-18.normal.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,9 @@
13981398
{"shape":"RefreshTokenReuseException"},
13991399
{"shape":"InternalErrorException"}
14001400
],
1401-
"documentation":"<p>Given a refresh token, issues new ID, access, and optionally refresh tokens for the user who owns the submitted token. This operation issues a new refresh token and invalidates the original refresh token after an optional grace period when refresh token rotation is enabled. If refresh token rotation is disabled, issues new ID and access tokens only.</p>"
1401+
"documentation":"<p>Given a refresh token, issues new ID, access, and optionally refresh tokens for the user who owns the submitted token. This operation issues a new refresh token and invalidates the original refresh token after an optional grace period when refresh token rotation is enabled. If refresh token rotation is disabled, issues new ID and access tokens only.</p>",
1402+
"authtype":"none",
1403+
"auth":["smithy.api#noAuth"]
14021404
},
14031405
"GetUICustomization":{
14041406
"name":"GetUICustomization",

sdk/src/Services/CognitoIdentityProvider/Generated/Internal/AmazonCognitoIdentityProviderAuthResolver.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ public List<IAuthSchemeOption> ResolveAuthScheme(AmazonCognitoIdentityProviderAu
9494
return AuthSchemeOption.DEFAULT_NOAUTH;
9595
case "GetDeviceRequest":
9696
return AuthSchemeOption.DEFAULT_NOAUTH;
97+
case "GetTokensFromRefreshTokenRequest":
98+
return AuthSchemeOption.DEFAULT_NOAUTH;
9799
case "GetUserRequest":
98100
return AuthSchemeOption.DEFAULT_NOAUTH;
99101
case "GetUserAttributeVerificationCodeRequest":

0 commit comments

Comments
 (0)