|
Revision 9060, 1.6 kB
(checked in by FabianLange, 5 years ago)
|
1.1: fixed @param phpdoc to fit specs in user (refs #2991)
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id Rev Date
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
interface sfSecurityUser |
|---|
| 22 |
{ |
|---|
| 23 |
|
|---|
| 24 |
* Add a credential to this user. |
|---|
| 25 |
* |
|---|
| 26 |
* @param mixed Credential data. |
|---|
| 27 |
*/ |
|---|
| 28 |
public function addCredential($credential); |
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
* Clear all credentials associated with this user. |
|---|
| 32 |
*/ |
|---|
| 33 |
public function clearCredentials(); |
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
* Indicates whether or not this user has a credential. |
|---|
| 37 |
* |
|---|
| 38 |
* @param mixed $credential Credential data. |
|---|
| 39 |
* |
|---|
| 40 |
* @return bool true, if this user has the credential, otherwise false. |
|---|
| 41 |
*/ |
|---|
| 42 |
public function hasCredential($credential); |
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
* Indicates whether or not this user is authenticated. |
|---|
| 46 |
* |
|---|
| 47 |
* @return bool true, if this user is authenticated, otherwise false. |
|---|
| 48 |
*/ |
|---|
| 49 |
public function isAuthenticated(); |
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
* Remove a credential from this user. |
|---|
| 53 |
* |
|---|
| 54 |
* @param mixed $credential Credential data. |
|---|
| 55 |
*/ |
|---|
| 56 |
public function removeCredential($credential); |
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
* Set the authenticated status of this user. |
|---|
| 60 |
* |
|---|
| 61 |
* @param bool $authenticated A flag indicating the authenticated status of this user. |
|---|
| 62 |
*/ |
|---|
| 63 |
public function setAuthenticated($authenticated); |
|---|
| 64 |
} |
|---|
| 65 |
|
|---|