Метод | Описание | |
---|---|---|
__construct ( string | object $user, string $credentials, string $providerKey, array $roles = [] ) | Constructor. | |
eraseCredentials ( ) | ||
getCredentials ( ) | ||
getProviderKey ( ) : string | Returns the provider key. | |
serialize ( ) | ||
setAuthenticated ( $isAuthenticated ) | ||
unserialize ( $serialized ) |
public __construct ( string | object $user, string $credentials, string $providerKey, array $roles = [] ) | ||
$user | string | object | The username (like a nickname, email address, etc.), or a UserInterface instance or an object implementing a __toString method |
$credentials | string | This usually is the password of the user |
$providerKey | string | The provider key |
$roles | array |
public getProviderKey ( ) : string | ||
Результат | string | The provider key |