@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @param string $name |
13 | 13 | * |
14 | - * @return mixed|null |
|
14 | + * @return string |
|
15 | 15 | */ |
16 | 16 | public function get(string $name); |
17 | 17 |
@@ -160,6 +160,11 @@ |
||
160 | 160 | return $this->fetchToken($client, $tokenSet, $redirectUri, $authSession, $maxAge); |
161 | 161 | } |
162 | 162 | |
163 | + /** |
|
164 | + * @param string $redirectUri |
|
165 | + * @param AuthSessionInterface $authSession |
|
166 | + * @param integer $maxAge |
|
167 | + */ |
|
163 | 168 | public function fetchToken( |
164 | 169 | OpenIDClient $client, |
165 | 170 | TokenSetInterface $tokenSet, |
@@ -6,20 +6,44 @@ |
||
6 | 6 | |
7 | 7 | interface TokenSetInterface |
8 | 8 | { |
9 | + /** |
|
10 | + * @return string|null |
|
11 | + */ |
|
9 | 12 | public function getTokenType(): ?string; |
10 | 13 | |
14 | + /** |
|
15 | + * @return string|null |
|
16 | + */ |
|
11 | 17 | public function getAccessToken(): ?string; |
12 | 18 | |
19 | + /** |
|
20 | + * @return string|null |
|
21 | + */ |
|
13 | 22 | public function getIdToken(): ?string; |
14 | 23 | |
24 | + /** |
|
25 | + * @return string|null |
|
26 | + */ |
|
15 | 27 | public function getRefreshToken(): ?string; |
16 | 28 | |
29 | + /** |
|
30 | + * @return integer|null |
|
31 | + */ |
|
17 | 32 | public function getExpiresIn(): ?int; |
18 | 33 | |
34 | + /** |
|
35 | + * @return string|null |
|
36 | + */ |
|
19 | 37 | public function getCodeVerifier(): ?string; |
20 | 38 | |
39 | + /** |
|
40 | + * @return null|string |
|
41 | + */ |
|
21 | 42 | public function getCode(): ?string; |
22 | 43 | |
44 | + /** |
|
45 | + * @return null|string |
|
46 | + */ |
|
23 | 47 | public function getState(): ?string; |
24 | 48 | |
25 | 49 | /** |