Page MenuHomeWickedGov Phorge

TOTPAuthenticationRequestTest.php
No OneTemporary

Size
616 B
Referenced Files
None
Subscribers
None

TOTPAuthenticationRequestTest.php

<?php
namespace MediaWiki\Extension\OATHAuth\Tests\Integration\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
Sat, Nov 21, 21:04 (1 d, 14 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bc/5b/af1f60ad8adcf13b08c869f82309
Default Alt Text
TOTPAuthenticationRequestTest.php (616 B)

Event Timeline