Page MenuHomeWickedGov Phorge

MWOAuthToken.php
No OneTemporary

Size
755 B
Referenced Files
None
Subscribers
None

MWOAuthToken.php

<?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

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)

Event Timeline