| 1 | <?php |
| 2 | |
| 3 | namespace Aws\Auth; |
| 4 | |
| 5 | use Aws\Identity\IdentityInterface; |
| 6 | |
| 7 | /** |
| 8 | * An AuthSchemeResolver object determines which auth scheme will be used for request signing. |
| 9 | */ |
| 10 | interface AuthSchemeResolverInterface |
| 11 | { |
| 12 | /** |
| 13 | * Selects an auth scheme for request signing. |
| 14 | * |
| 15 | * @param array $authSchemes a priority-ordered list of authentication schemes. |
| 16 | * @param array $args |
| 17 | * |
| 18 | * @return string|null |
| 19 | */ |
| 20 | public function selectAuthScheme( |
| 21 | array $authSchemes, |
| 22 | array $args |
| 23 | ): ?string; |
| 24 | } |