mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-28 02:00:06 +00:00
Fix some comments
* Spelling in OATHAuthHooks::onRegistration comment * Remove incorrect comment for OATHAuth::__construct * Spelling in TOTPAuthenticationRequest class phpdoc Change-Id: Iaf670a1b86e82b4684489371c8152b8055bff90e
This commit is contained in:
parent
0e37c6ca1f
commit
03d890f3da
|
@ -38,8 +38,8 @@ class OATHAuthHooks {
|
|||
$wgAuthManagerAutoConfig['secondaryauth'] += [
|
||||
TOTPSecondaryAuthenticationProvider::class => [
|
||||
'class' => TOTPSecondaryAuthenticationProvider::class,
|
||||
// after non-interactive prroviders but before the ones that run after a
|
||||
// succesful authentication
|
||||
// after non-interactive providers but before the ones
|
||||
// that run after a successful authentication
|
||||
'sort' => 50,
|
||||
]
|
||||
];
|
||||
|
|
|
@ -13,7 +13,6 @@ class OATHUser {
|
|||
private $key;
|
||||
|
||||
/**
|
||||
* Constructor. Can't be called directly. Call one of the static NewFrom* methods
|
||||
* @param User $user
|
||||
* @param OATHAuthKey $key
|
||||
*/
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
use MediaWiki\Auth\AuthenticationRequest;
|
||||
|
||||
/**
|
||||
* AuthManager value object for the TOTP second factor of an authentication: a pseudorandom token
|
||||
* that is generated from the current time indepdendently by the server and the client.
|
||||
* AuthManager value object for the TOTP second factor of an authentication:
|
||||
* a pseudorandom token that is generated from the current time independently
|
||||
* by the server and the client.
|
||||
*/
|
||||
class TOTPAuthenticationRequest extends AuthenticationRequest {
|
||||
public $OATHToken;
|
||||
|
|
Loading…
Reference in a new issue