Page MenuHomeWickedGov Phorge

CentralAuthRedirectingAuthenticationRequest.php
No OneTemporary

Size
818 B
Referenced Files
None
Subscribers
None

CentralAuthRedirectingAuthenticationRequest.php

<?php
namespace MediaWiki\Extension\CentralAuth;
use MediaWiki\Auth\ButtonAuthenticationRequest;
/**
* Authentication request indicating that login should happen by redirecting
* to a central login domain.
*/
class CentralAuthRedirectingAuthenticationRequest extends ButtonAuthenticationRequest {
/**
* Property name must match CentralAuthRedirectingPrimaryAuthenticationProvider::NON_LOGIN_WIKI_BUTTONREQUEST_NAME.
* Set to true by loadFromSubmission() if the button was used.
*/
public bool $nonloginwiki = false;
public function __construct() {
parent::__construct(
CentralAuthRedirectingPrimaryAuthenticationProvider::NON_LOGIN_WIKI_BUTTONREQUEST_NAME,
wfMessage( 'centralauth-non-login-wiki-buttonlabel' ),
wfMessage( 'centralauth-non-login-wiki-buttonlabel-help' ),
true
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 16 2026, 18:25 (11 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e4/52/6e8588b4b33444f5294bc77f1da7
Default Alt Text
CentralAuthRedirectingAuthenticationRequest.php (818 B)

Event Timeline