Skip to content

Commit cbebfca

Browse files
authored
Link to impersonation cookbook article
1 parent 4c3c38f commit cbebfca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Controller/Component/AuthenticationComponent.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ public function implementedEvents(): array
377377
* @param \ArrayAccess $impersonated User impersonated
378378
* @return $this
379379
* @throws \Exception
380+
* @see https://book.cakephp.org/authentication/3/en/impersonation.html
380381
*/
381382
public function impersonate(ArrayAccess $impersonated)
382383
{
@@ -414,6 +415,7 @@ public function impersonate(ArrayAccess $impersonated)
414415
*
415416
* @return $this
416417
* @throws \Exception
418+
* @see https://book.cakephp.org/authentication/3/en/impersonation.html
417419
*/
418420
public function stopImpersonating()
419421
{
@@ -442,6 +444,7 @@ public function stopImpersonating()
442444
*
443445
* @return bool
444446
* @throws \Exception
447+
* @see https://book.cakephp.org/authentication/3/en/impersonation.html
445448
*/
446449
public function isImpersonating(): bool
447450
{
@@ -462,6 +465,7 @@ public function isImpersonating(): bool
462465
*
463466
* @return \Authentication\Authenticator\ImpersonationInterface
464467
* @throws \Exception
468+
* @see https://book.cakephp.org/authentication/3/en/impersonation.html
465469
*/
466470
protected function getImpersonationAuthenticationService(): ImpersonationInterface
467471
{

0 commit comments

Comments
 (0)