@@ -40,11 +40,13 @@ public function __construct(
40
40
$ this ->openIDConfiguration = $ openIDConfiguration ;
41
41
}
42
42
43
+ #[\Override]
43
44
protected function startSession (): void
44
45
{
45
46
// Laravel magic in the background :)
46
47
}
47
48
49
+ #[\Override]
48
50
protected function commitSession (): void
49
51
{
50
52
Session::save ();
@@ -53,6 +55,7 @@ protected function commitSession(): void
53
55
/**
54
56
* @param string $key
55
57
*/
58
+ #[\Override]
56
59
protected function getSessionKey ($ key ): mixed
57
60
{
58
61
if (!Session::has ($ key )) {
@@ -66,6 +69,7 @@ protected function getSessionKey($key): mixed
66
69
* @param string $key
67
70
* @param mixed $value mixed
68
71
*/
72
+ #[\Override]
69
73
protected function setSessionKey ($ key , $ value ): void
70
74
{
71
75
Session::put ($ key , $ value );
@@ -74,6 +78,7 @@ protected function setSessionKey($key, $value): void
74
78
/**
75
79
* @param string $key
76
80
*/
81
+ #[\Override]
77
82
protected function unsetSessionKey ($ key ): void
78
83
{
79
84
Session::remove ($ key );
@@ -84,6 +89,7 @@ protected function unsetSessionKey($key): void
84
89
* @return string the JWT payload
85
90
* @throws OpenIDConnectClientException
86
91
*/
92
+ #[\Override]
87
93
protected function handleJweResponse ($ jwe ): string
88
94
{
89
95
if ($ this ->jweDecrypter === null ) {
@@ -102,6 +108,7 @@ protected function handleJweResponse($jwe): string
102
108
* @throws OpenIDConnectClientException
103
109
* @return string|string[]|bool
104
110
*/
111
+ #[\Override]
105
112
protected function getWellKnownConfigValue ($ param , $ default = null ): string |array |bool
106
113
{
107
114
if ($ this ->openIDConfiguration === null ) {
@@ -137,6 +144,7 @@ public function setLoginHint(?string $loginHint = null): void
137
144
* @return void
138
145
* @throws OpenIDConnectClientException
139
146
*/
147
+ #[\Override]
140
148
public function redirect ($ url ): void
141
149
{
142
150
throw new HttpResponseException (new RedirectResponse ($ url ));
@@ -172,6 +180,7 @@ protected function getAuthorizationEndpoint(): string
172
180
* @return string
173
181
* @throws OpenIDConnectClientException
174
182
*/
183
+ #[\Override]
175
184
protected function fetchURL (string $ url , string $ post_body = null , array $ headers = []): string
176
185
{
177
186
$ pendingRequest = Http::withUserAgent ($ this ->getUserAgent ())
@@ -211,6 +220,7 @@ protected function fetchURL(string $url, string $post_body = null, array $header
211
220
*
212
221
* @return int
213
222
*/
223
+ #[\Override]
214
224
public function getResponseCode (): int
215
225
{
216
226
return $ this ->responseCode ?? 0 ;
@@ -221,6 +231,7 @@ public function getResponseCode(): int
221
231
*
222
232
* @return string|null
223
233
*/
234
+ #[\Override]
224
235
public function getResponseContentType (): ?string
225
236
{
226
237
return $ this ->internalResponseContentType ;
0 commit comments