Page MenuHomeWickedGov Phorge

TOTPAuthenticationRequestTest.php
No OneTemporary

Size
604 B
Referenced Files
None
Subscribers
None

TOTPAuthenticationRequestTest.php

<?php
namespace MediaWiki\Extension\OATHAuth\Tests\Auth;
use MediaWiki\Extension\OATHAuth\Auth\TOTPAuthenticationRequest;
use MediaWiki\Tests\Auth\AuthenticationRequestTestCase;
/**
* @covers \MediaWiki\Extension\OATHAuth\Auth\TOTPAuthenticationRequest
*/
class TOTPAuthenticationRequestTest extends AuthenticationRequestTestCase {
protected function getInstance( array $args = [] ) {
return new TOTPAuthenticationRequest();
}
public static function provideLoadFromSubmission() {
return [
[ [], [], false ],
[ [], [ 'OATHToken' => '123456' ], [ 'OATHToken' => '123456' ] ],
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 19 2026, 19:16 (6 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
20/8c/c7b018118a09d0429a7d14a84d66
Default Alt Text
TOTPAuthenticationRequestTest.php (604 B)

Event Timeline