wiki.techinc.nl/includes/auth
Thalia 52f7720227 Introduce a BlockManager service
This introduces a minimal BlockManager service, for getting blocks
that apply to a User.

Move the part of User::getBlockedStatus that checks for the blocks
into BlockManager::getUserBlock, and move the related helper
methods from User to BlockManager.

Hard deprecate or remove these helper methods, and move to private
methods in the BlockManager:
* User::getBlockFromCookieValue
* User::isLocallyBlockedProxy
* User::inDnsBlacklist

Soft deprecate these helper methods, and move to public methods in
the BlockManager:
* User::isDnsBlacklisted

Add tests to cover the methods moved to BlockManager.

Bug: T219441
Change-Id: I0af658d71288376735cebe541215383b56bb72e5
2019-04-29 17:47:55 +01:00
..
AbstractAuthenticationProvider.php
AbstractPasswordPrimaryAuthenticationProvider.php Add password policy setting suggestChangeOnLogin 2019-03-09 14:59:02 -05:00
AbstractPreAuthenticationProvider.php
AbstractPrimaryAuthenticationProvider.php
AbstractSecondaryAuthenticationProvider.php
AuthenticationProvider.php
AuthenticationRequest.php Fix/suppress misc phan errors (#5) 2019-04-05 15:53:37 -07:00
AuthenticationResponse.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
AuthManager.php Introduce a BlockManager service 2019-04-29 17:47:55 +01:00
ButtonAuthenticationRequest.php Replace call_user_func_array(), part 2 2018-06-07 20:19:26 -07:00
CheckBlocksSecondaryAuthenticationProvider.php Deprecate User::isBlocked() 2019-04-25 11:47:44 -04:00
ConfirmLinkAuthenticationRequest.php
ConfirmLinkSecondaryAuthenticationProvider.php AuthManager: Don't invalidate BotPasswords if a password reset email is sent 2018-07-17 16:25:28 -04:00
CreatedAccountAuthenticationRequest.php auth: Follow up on e907d4328d 2018-11-26 20:38:36 +00:00
CreateFromLoginAuthenticationRequest.php
CreationReasonAuthenticationRequest.php
EmailNotificationSecondaryAuthenticationProvider.php rdbms: rename onTransactionIdle() to onTransactionCommitOrIdle() 2018-05-09 21:07:06 +00:00
LegacyHookPreAuthenticationProvider.php Hard-deprecate LegacyHookPreAuthenticationProvider class 2018-10-22 12:14:19 -07:00
LocalPasswordPrimaryAuthenticationProvider.php Collapse some nested if statements 2019-04-04 19:02:22 +00:00
PasswordAuthenticationRequest.php
PasswordDomainAuthenticationRequest.php
PreAuthenticationProvider.php
PrimaryAuthenticationProvider.php
RememberMeAuthenticationRequest.php
ResetPasswordSecondaryAuthenticationProvider.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
SecondaryAuthenticationProvider.php
TemporaryPasswordAuthenticationRequest.php Fix password policy handling in temporary password provider 2019-02-20 12:25:49 -08:00
TemporaryPasswordPrimaryAuthenticationProvider.php Collapse some nested if statements 2019-04-04 19:02:22 +00:00
ThrottlePreAuthenticationProvider.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
Throttler.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
UserDataAuthenticationRequest.php
UsernameAuthenticationRequest.php