1 | <?php |
||
7 | class AuthorizationHeader implements AuthorizationHeaderInterface |
||
8 | { |
||
9 | /** |
||
10 | * The ProtocolParameterInterface instance. |
||
11 | * |
||
12 | * @var \Risan\OAuth1\Request\ProtocolParameterInterface |
||
13 | */ |
||
14 | protected $protocolParameter; |
||
15 | |||
16 | /** |
||
17 | * Create a new instance of AuthorizationHeader class. |
||
18 | * |
||
19 | * @param \Risan\OAuth1\Request\ProtocolParameterInterface $protocolParameter |
||
20 | */ |
||
21 | 5 | public function __construct(ProtocolParameterInterface $protocolParameter) |
|
25 | |||
26 | /** |
||
27 | * {@inheritDoc} |
||
28 | */ |
||
29 | 1 | public function getProtocolParameter() |
|
33 | |||
34 | /** |
||
35 | * {@inheritDoc} |
||
36 | */ |
||
37 | 1 | public function getConfig() |
|
41 | |||
42 | /** |
||
43 | * {@inheritDoc} |
||
44 | */ |
||
45 | 1 | public function forTemporaryCredentials() |
|
51 | |||
52 | /** |
||
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | 1 | public function forTokenCredentials(TemporaryCredentials $temporaryCredentials, $verificationCode) |
|
61 | |||
62 | /** |
||
63 | * {@inheritDoc} |
||
64 | */ |
||
65 | public function normalizeProtocolParameters(array $parameters) |
||
73 | } |
||
74 |