AuthorizationFinalizer
class AuthorizationFinalizer
Methods
__construct(ServerFactory $servers, ConsentRepository $consents, ClientRepository $clients, Dispatcher $events, ResourceRepository $resources)
Create the authorization finalizer.
mixed
approve(Request $request, AuthorizationRequestInterface|DeviceCodeEntityInterface $authorization, array $pending, Authenticatable $user, AuthorizationApproval $approval, Closure $complete)
Attach consent and extension data atomically before completing an authorization.
array
array
selectedValues(mixed $selected, array $presented, string $parameter)
Validate a selected set, including an explicitly empty form selection.
Details
at line 25
__construct(ServerFactory $servers, ConsentRepository $consents, ClientRepository $clients, Dispatcher $events, ResourceRepository $resources)
Create the authorization finalizer.
at line 42
mixed
approve(Request $request, AuthorizationRequestInterface|DeviceCodeEntityInterface $authorization, array $pending, Authenticatable $user, AuthorizationApproval $approval, Closure $complete)
Attach consent and extension data atomically before completing an authorization.
at line 144
protected array
selection(Request $request, array $presented)
Validate submitted choices against the saved consent presentation.
at line 195
protected array
selectedValues(mixed $selected, array $presented, string $parameter)
Validate a selected set, including an explicitly empty form selection.