(root)/lib/aws-sdk/src/Auth/AuthSchemeResolverInterface.php – Rev 1441
|
Ultima modificación |
Ver Log
|
| Rev |
Autor |
Línea Nro. |
Línea |
| 1441 |
ariadna |
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 IdentityInterface $identity Credentials to be used in request signing.
|
|
|
17 |
*
|
|
|
18 |
* @return string
|
|
|
19 |
*/
|
|
|
20 |
public function selectAuthScheme(
|
|
|
21 |
array $authSchemes,
|
|
|
22 |
array $args
|
|
|
23 |
): ?string;
|
|
|
24 |
}
|