backup: live-stand vor erstem git-deployment
This commit is contained in:
33
mysyde/common/interfaces/AuthStrategy.php
Normal file
33
mysyde/common/interfaces/AuthStrategy.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
namespace DynCom\mysyde\common\interfaces;
|
||||
use DynCom\mysyde\dcShop\classes\User;
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: bauer
|
||||
* Date: 05.01.2016
|
||||
* Time: 12:32
|
||||
*/
|
||||
|
||||
interface UserAuthenticationStrategy
|
||||
{
|
||||
|
||||
/**
|
||||
* @param array $authData
|
||||
* @return mixed
|
||||
*/
|
||||
public function attemptAuthentication(array $authData = []);
|
||||
|
||||
/**
|
||||
* @param User $user
|
||||
* @return mixed
|
||||
*/
|
||||
public function logoutUser(User $user);
|
||||
|
||||
/**
|
||||
* @param User $user
|
||||
* @return mixed
|
||||
*/
|
||||
public function forceLogin(User $user);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user