1 | <?php |
||
8 | class AuthorizationHeader implements AuthorizationHeaderInterface |
||
9 | { |
||
10 | /** |
||
11 | * The ProtocolParameterInterface instance. |
||
12 | * |
||
13 | * @var \Risan\OAuth1\Request\ProtocolParameterInterface |
||
14 | */ |
||
15 | protected $protocolParameter; |
||
16 | |||
17 | /** |
||
18 | * Create a new instance of AuthorizationHeader class. |
||
19 | * |
||
20 | * @param \Risan\OAuth1\Request\ProtocolParameterInterface $protocolParameter |
||
21 | */ |
||
22 | 7 | public function __construct(ProtocolParameterInterface $protocolParameter) |
|
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | 1 | public function getProtocolParameter() |
|
34 | |||
35 | /** |
||
36 | * {@inheritDoc} |
||
37 | */ |
||
38 | 1 | public function getConfig() |
|
42 | |||
43 | /** |
||
44 | * {@inheritDoc} |
||
45 | */ |
||
46 | 1 | public function forTemporaryCredentials() |
|
52 | |||
53 | /** |
||
54 | * {@inheritDoc} |
||
55 | */ |
||
56 | 1 | public function forTokenCredentials(TemporaryCredentials $temporaryCredentials, $verificationCode) |
|
62 | |||
63 | /** |
||
64 | * {@inheritDoc} |
||
65 | */ |
||
66 | 1 | public function forProtectedResource(TokenCredentials $tokenCredentials, $httpMethod, $uri, array $requestOptions = []) |
|
72 | |||
73 | /** |
||
74 | * {@inheritDoc} |
||
75 | */ |
||
76 | public function normalizeProtocolParameters(array $parameters) |
||
84 | } |
||
85 |