-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed for two unsigned cognito-identity operations.
Fixes #882.
- Loading branch information
1 parent
a179196
commit a806f0b
Showing
4 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
aws-sdk-core/features/cognitoidentity/unsigned_requests.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# language: en | ||
@cognitoidentity @unsigned-requests | ||
Feature: Amazon Cognito Idenity | ||
|
||
Scenario Outline: Unsigned requests | ||
Given I have an Aws::CognitoIdenty::Client without credentials | ||
When I make a <operation> request | ||
Then I should not receive an Aws::CognitoIdentity::Errors::MissingAuthenticationTokenException | ||
|
||
Examples: | ||
| operation | | ||
| GetCredentialsForIdentity | | ||
| GetId | | ||
| GetOpenIdToken | | ||
| UnlinkIdentity | | ||
|
||
Scenario Outline: Signed requests | ||
Given I have an Aws::CognitoIdenty::Client without credentials | ||
When I make a <operation> request | ||
Then I should receive a missing credentials error | ||
|
||
Examples: | ||
| operation | | ||
| CreateIdentityPool | | ||
| DeleteIdentities | | ||
| DeleteIdentityPool | | ||
| DescribeIdentity | | ||
| DescribeIdentityPool | | ||
| GetIdentityPoolRoles | | ||
| GetOpenIdTokenForDeveloperIdentity | | ||
| ListIdentities | | ||
| ListIdentityPools | | ||
| LookupDeveloperIdentity | | ||
| MergeDeveloperIdentities | | ||
| SetIdentityPoolRoles | | ||
| UnlinkDeveloperIdentity | | ||
| UpdateIdentityPool | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters