Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
ClientApprovalDenyException | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Extension\OAuth\Exception; |
4 | |
5 | use League\OAuth2\Server\Exception\OAuthServerException; |
6 | |
7 | class ClientApprovalDenyException extends OAuthServerException { |
8 | |
9 | public function __construct( $redirectUri ) { |
10 | parent::__construct( |
11 | wfMessage( 'mwoauth-oauth2-error-user-approval-deny' )->plain(), |
12 | 401, |
13 | 'unauthorized_client', |
14 | 400, |
15 | null, |
16 | $redirectUri |
17 | ); |
18 | } |
19 | } |