MediaWiki REL1_32
|
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. More...
Public Member Functions | |
__construct (User $user, OATHAuthKey $key=null) | |
Constructor. | |
getAccount () | |
getIssuer () | |
getKey () | |
Get the key associated with this user. | |
getUser () | |
setKey (OATHAuthKey $key=null) | |
Set the key associated with this user. | |
Private Attributes | |
OATHAuthKey null | $key |
User | $user |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html Class representing a user from OATH's perspective
Definition at line 24 of file OATHUser.php.
OATHUser::__construct | ( | User | $user, |
OATHAuthKey | $key = null ) |
Constructor.
Can't be called directly. Use OATHUserRepository::findByUser instead.
User | $user | |
OATHAuthKey | null | $key |
Definition at line 36 of file OATHUser.php.
OATHUser::getAccount | ( | ) |
Definition at line 62 of file OATHUser.php.
Referenced by SpecialOATHEnable\getFormFields().
OATHUser::getIssuer | ( | ) |
Definition at line 51 of file OATHUser.php.
References $wgSitename.
Referenced by SpecialOATHEnable\getFormFields().
OATHUser::getKey | ( | ) |
Get the key associated with this user.
Definition at line 71 of file OATHUser.php.
References $key.
Referenced by SpecialOATHDisable\onSubmit().
OATHUser::getUser | ( | ) |
Definition at line 44 of file OATHUser.php.
References $user.
Referenced by SpecialOATHDisable\onSubmit(), and OATHUserRepository\persist().
OATHUser::setKey | ( | OATHAuthKey | $key = null | ) |
Set the key associated with this user.
OATHAuthKey | null | $key |
Definition at line 80 of file OATHUser.php.
Referenced by SpecialOATHDisable\onSubmit(), and SpecialOATHEnable\onSubmit().
|
private |
Definition at line 29 of file OATHUser.php.
Referenced by __construct(), getKey(), and setKey().
|
private |
Definition at line 26 of file OATHUser.php.
Referenced by __construct(), and getUser().