@@ -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 |
@@ -8,10 +8,19 @@ discard block |
||
8 | 8 | |
9 | 9 | interface AuthSessionInterface extends JsonSerializable |
10 | 10 | { |
11 | + /** |
|
12 | + * @return null|string |
|
13 | + */ |
|
11 | 14 | public function getState(): ?string; |
12 | 15 | |
16 | + /** |
|
17 | + * @return null|string |
|
18 | + */ |
|
13 | 19 | public function getNonce(): ?string; |
14 | 20 | |
21 | + /** |
|
22 | + * @return null|string |
|
23 | + */ |
|
15 | 24 | public function getCodeVerifier(): ?string; |
16 | 25 | |
17 | 26 | /** |
@@ -19,14 +28,28 @@ discard block |
||
19 | 28 | */ |
20 | 29 | public function getCustoms(): array; |
21 | 30 | |
31 | + /** |
|
32 | + * @param string $state |
|
33 | + * |
|
34 | + * @return void |
|
35 | + */ |
|
22 | 36 | public function setState(?string $state): void; |
23 | 37 | |
38 | + /** |
|
39 | + * @param string $nonce |
|
40 | + * |
|
41 | + * @return void |
|
42 | + */ |
|
24 | 43 | public function setNonce(?string $nonce): void; |
25 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
26 | 48 | public function setCodeVerifier(?string $codeVerifier): void; |
27 | 49 | |
28 | 50 | /** |
29 | 51 | * @param array<string, mixed> $customs |
52 | + * @return void |
|
30 | 53 | */ |
31 | 54 | public function setCustoms(array $customs): void; |
32 | 55 |
@@ -13,20 +13,44 @@ |
||
13 | 13 | */ |
14 | 14 | public function getAttributes(): array; |
15 | 15 | |
16 | + /** |
|
17 | + * @return string|null |
|
18 | + */ |
|
16 | 19 | public function getTokenType(): ?string; |
17 | 20 | |
21 | + /** |
|
22 | + * @return string|null |
|
23 | + */ |
|
18 | 24 | public function getAccessToken(): ?string; |
19 | 25 | |
26 | + /** |
|
27 | + * @return string|null |
|
28 | + */ |
|
20 | 29 | public function getIdToken(): ?string; |
21 | 30 | |
31 | + /** |
|
32 | + * @return string|null |
|
33 | + */ |
|
22 | 34 | public function getRefreshToken(): ?string; |
23 | 35 | |
36 | + /** |
|
37 | + * @return integer|null |
|
38 | + */ |
|
24 | 39 | public function getExpiresIn(): ?int; |
25 | 40 | |
41 | + /** |
|
42 | + * @return string|null |
|
43 | + */ |
|
26 | 44 | public function getCodeVerifier(): ?string; |
27 | 45 | |
46 | + /** |
|
47 | + * @return string|null |
|
48 | + */ |
|
28 | 49 | public function getCode(): ?string; |
29 | 50 | |
51 | + /** |
|
52 | + * @return string|null |
|
53 | + */ |
|
30 | 54 | public function getState(): ?string; |
31 | 55 | |
32 | 56 | /** |