Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
CentralAuthRedirectingAuthenticationRequest
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace MediaWiki\Extension\CentralAuth;
4
5use MediaWiki\Auth\ButtonAuthenticationRequest;
6
7/**
8 * Authentication request indicating that login should happen by redirecting
9 * to a central login domain.
10 */
11class CentralAuthRedirectingAuthenticationRequest extends ButtonAuthenticationRequest {
12
13    public function __construct() {
14        parent::__construct(
15            CentralAuthRedirectingPrimaryAuthenticationProvider::NON_LOGIN_WIKI_BUTTONREQUEST_NAME,
16            wfMessage( 'centralauth-non-login-wiki-buttonlabel' ),
17            wfMessage( 'centralauth-non-login-wiki-buttonlabel-help' ),
18            true
19        );
20    }
21}