메소드 | 설명 | |
---|---|---|
__construct ( string | object $user, mixed $credentials, string $providerKey, array $roles = [] ) | Constructor. | |
eraseCredentials ( ) | ||
getCredentials ( ) | ||
getProviderKey ( ) : string | Returns the provider key. | |
serialize ( ) | ||
unserialize ( $str ) |
public __construct ( string | object $user, mixed $credentials, string $providerKey, array $roles = [] ) | ||
$user | string | object | The user can be a UserInterface instance, or an object implementing a __toString method or the username as a regular string |
$credentials | mixed | The user credentials |
$providerKey | string | The provider key |
$roles | array |
public getProviderKey ( ) : string | ||
리턴 | string | The provider key |