classe JwtGuard étends GuardContract (Voir la source)

Traits

Propriétés

protected string $guard

The define guard

depuis  GuardContract

Méthodes

bool
check()

Check if user is authenticate

bool
guest()

Check if user is guest

bool
logout()

Destruit token

Authenticate
user()

Check if user is authenticate

bool
attempts(array $credentials)

Check if user is authenticate

guard(string $guard = null)

Load the a guard

Token
getToken()

Get the generated token

__construct(array $provider, string $guard = null)

JwtGuard constructor.

Policier
getPolicier()

Get the Policier instance

string
getTokenString()

Get the token string

bool
login(Authentication $user)

Make direct login

bool
id()

Get the user id

Détails

bool check()

Check if user is authenticate

Valeur de retour

bool

bool guest()

Check if user is guest

Valeur de retour

bool

bool logout()

Destruit token

Valeur de retour

bool

Authenticate user()

Check if user is authenticate

Valeur de retour

Authenticate

bool attempts(array $credentials)

Check if user is authenticate

Paramètres

array $credentials

Valeur de retour

bool

GuardContract guard(string $guard = null)

Load the a guard

Paramètres

string $guard

Valeur de retour

GuardContract

Token getToken()

Get the generated token

Valeur de retour

Token

__construct(array $provider, string $guard = null)

JwtGuard constructor.

Paramètres

array $provider
string $guard

Policier getPolicier()

Get the Policier instance

Valeur de retour

Policier

string getTokenString()

Get the token string

Valeur de retour

string

bool login(Authentication $user)

Make direct login

Paramètres

Authentication $user

Valeur de retour

bool

bool id()

Get the user id

Valeur de retour

bool