MediaWiki REL1_31
TOTPAuthenticationRequestTest.php
Go to the documentation of this file.
1<?php
2
4
6
7 protected function getInstance( array $args = [] ) {
8 return new TOTPAuthenticationRequest();
9 }
10
11 public function provideLoadFromSubmission() {
12 return [
13 [ [], [], false ],
14 [ [], [ 'OATHToken' => '123456' ], [ 'OATHToken' => '123456' ] ],
15 ];
16 }
17}
if( $line===false) $args
Definition cdb.php:64
AuthManager value object for the TOTP second factor of an authentication: a pseudorandom token that i...
processing should stop and the error should be shown to the user * false
Definition hooks.txt:187