PHP Class Domain\Auth\AuthService

Inheritance: implements Domain\Auth\Contracts\AuthService
Afficher le fichier Open project: resultsystems/school Class Usage Examples

Méthodes publiques

Méthode Description
byCredentials ( array $credentials, string $type ) : array
login ( Illuminate\Contracts\Auth\Authenticatable $user, boolean $remember = false ) : array
logout ( $token = null ) : boolean

Private Methods

Méthode Description
getUser ( string $token ) : array Get user authenticate.

Method Details

byCredentials() public méthode

public byCredentials ( array $credentials, string $type ) : array
$credentials array
$type string
Résultat array

login() public méthode

public login ( Illuminate\Contracts\Auth\Authenticatable $user, boolean $remember = false ) : array
$user Illuminate\Contracts\Auth\Authenticatable
$remember boolean
Résultat array

logout() public méthode

public logout ( $token = null ) : boolean
Résultat boolean