name = $identifier['user']; $user->email = Arr::has($identifier, 'email') ? $identifier['email'] : $identifier['user']; return $user; } /** * @inheritDoc */ public function retrieveByToken($identifier, $token) { throw new Exception(sprintf('No implementation for %s', __METHOD__)); } /** * @inheritDoc */ public function updateRememberToken(Authenticatable $user, $token) { throw new Exception(sprintf('No implementation for %s', __METHOD__)); } /** * @inheritDoc */ public function retrieveByCredentials(array $credentials) { throw new Exception(sprintf('No implementation for %s', __METHOD__)); } /** * @inheritDoc */ public function validateCredentials(Authenticatable $user, array $credentials) { throw new Exception(sprintf('No implementation for %s', __METHOD__)); } }