1 | <?php |
||
19 | abstract class ClientRegistrationManagementRule implements Rule |
||
20 | { |
||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | public function handle(ClientId $clientId, DataBag $commandParameters, DataBag $validatedParameters, callable $next): DataBag |
||
31 | |||
32 | /** |
||
33 | * @param ClientId $clientId |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | abstract protected function getRegistrationClientUri(ClientId $clientId): string; |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | abstract protected function generateRegistrationAccessToken(): string; |
||
43 | } |
||
44 |