1: <?php
2: namespace Worldline\Connect\Sdk\Authentication;
3:
4: /**
5: * Class Authenticator
6: *
7: * @package Worldline\Connect\Sdk\Authentication
8: */
9: interface Authenticator
10: {
11: /**
12: * @param string $httpMethod
13: * @param string $uriPath
14: * @param array<string, string> $requestHeaders
15: *
16: * @return string The full value for the Authorization header
17: */
18: public function getAuthorization(string $httpMethod, string $uriPath, array $requestHeaders): string;
19: }
20: