mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Все классы, отвечающие за oAuth передвинуты в компоненты API, освежён код, поправлены неймспейсы
This commit is contained in:
11
api/components/OAuth2/Exception/AccessDeniedException.php
Normal file
11
api/components/OAuth2/Exception/AccessDeniedException.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace api\components\OAuth2\Exceptions;
|
||||
|
||||
class AccessDeniedException extends \League\OAuth2\Server\Exception\AccessDeniedException {
|
||||
|
||||
public function __construct($redirectUri = null) {
|
||||
parent::__construct();
|
||||
$this->redirectUri = $redirectUri;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user