PHP Class Chrisbjr\ApiGuard\Providers\Auth\October

Inheritance: implements Auth
Afficher le fichier Open project: chrisbjr/api-guard

Protected Properties

Свойство Type Description
$october October\Rain\Auth\Manager

Méthodes publiques

Méthode Description
__construct ( October\Rain\Auth\Manager $october )
byCredentials ( array $credentials ) : mixed Check a user's credentials.
byId ( mixed $id ) : boolean Authenticate a user via the id.
user ( ) : October\Rain\Auth\Models\User Get the currently authenticated user.

Method Details

__construct() public méthode

public __construct ( October\Rain\Auth\Manager $october )
$october October\Rain\Auth\Manager

byCredentials() public méthode

Check a user's credentials.
public byCredentials ( array $credentials ) : mixed
$credentials array
Résultat mixed

byId() public méthode

Authenticate a user via the id.
public byId ( mixed $id ) : boolean
$id mixed
Résultat boolean

user() public méthode

Get the currently authenticated user.
public user ( ) : October\Rain\Auth\Models\User
Résultat October\Rain\Auth\Models\User

Property Details

$october protected_oe property

protected Manager,October\Rain\Auth $october
Résultat October\Rain\Auth\Manager