Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6000527
MWOAuthToken.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
755 B
Referenced Files
None
Subscribers
None
MWOAuthToken.php
View Options
<?php
namespace
MediaWiki\Extension\OAuth\Backend
;
use
MediaWiki\Extension\OAuth\Lib\OAuthToken
;
#[\AllowDynamicProperties]
class
MWOAuthToken
extends
OAuthToken
{
/** @var string|null Keep the verification code here */
protected
$code
;
/** @var string|null Token to find grant in oauth_accepted_consumer */
protected
$accessTokenKey
;
/**
* @param string $code
*/
public
function
addVerifyCode
(
$code
)
{
$this
->
code
=
$code
;
}
/**
* @return string|null
*/
public
function
getVerifyCode
()
{
return
$this
->
code
;
}
/**
* @param string $key
*/
public
function
addAccessKey
(
$key
)
{
$this
->
accessTokenKey
=
$key
;
}
/**
* @return string|null
*/
public
function
getAccessKey
()
{
return
$this
->
accessTokenKey
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 06:03 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ea/ff/bad27e6e43b7411af444237be2b4
Default Alt Text
MWOAuthToken.php (755 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment