Skip to content

Commit a2c1795

Browse files
fix: fix phpstan
1 parent ffc29bb commit a2c1795

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

api/src/Security/Http/Protection/ResourceResourceHandler.php

-16
Original file line numberDiff line numberDiff line change
@@ -108,20 +108,4 @@ private function getPAT(): string
108108

109109
return $content['access_token'];
110110
}
111-
112-
private function getTokenEndpoint(): string
113-
{
114-
$response = $this->securityAuthorizationClient->request('GET', '.well-known/openid-configuration');
115-
$content = $response->toArray();
116-
117-
return $content['token_endpoint'];
118-
}
119-
120-
private function getResourceRegistrationEndpoint(): string
121-
{
122-
$response = $this->securityAuthorizationClient->request('GET', '.well-known/uma2-configuration');
123-
$content = $response->toArray();
124-
125-
return $content['resource_registration_endpoint'];
126-
}
127111
}

0 commit comments

Comments
 (0)