DatabaseUserProvider::__construct()

void __construct(ConnectionInterface $conn, Hasher $hasher, string $table) Create a new database user provider. Parameters ConnectionInterface $conn Hasher $hasher string $table Return Value void

DatabaseUserProvider::validateCredentials()

bool validateCredentials(Authenticatable $user, array $credentials) Validate a user against the given credentials. Parameters Authenticatable $user array $credentials Return Value bool

DatabaseUserProvider::updateRememberToken()

void updateRememberToken(Authenticatable $user, string $token) Update the "remember me" token for the given user in storage. Parameters Authenticatable $user string $token Return Value void

DatabaseUserProvider::retrieveByToken()

Authenticatable|null retrieveByToken(mixed $identifier, string $token) Retrieve a user by their unique identifier and "remember me" token. Parameters mixed $identifier string $token Return Value Authenticatable|null

DatabaseUserProvider::retrieveById()

Authenticatable|null retrieveById(mixed $identifier) Retrieve a user by their unique identifier. Parameters mixed $identifier Return Value Authenticatable|null

DatabaseUserProvider::retrieveByCredentials()

Authenticatable|null retrieveByCredentials(array $credentials) Retrieve a user by the given credentials. Parameters array $credentials Return Value Authenticatable|null

DatabaseUserProvider

DatabaseUserProvider class DatabaseUserProvider implements UserProvider (View source) Methods void __construct(ConnectionInterface $conn, Hasher $hasher, string $table) Create a new database user provider. Authenticatable|null retrieveById(mixed $identifier) Retrieve a user by their unique identifier. Authenticatable|null retrieveByToken(mixed $identifier, string $token) Retrieve a user by their unique identifier and "remember me" token. void updateRememberToken(Authenticat

DatabaseTransactions::beginDatabaseTransaction()

void beginDatabaseTransaction() Handle database transactions on the specified connections. Return Value void

DatabaseTransactions

DatabaseTransactions trait DatabaseTransactions (View source) Methods void beginDatabaseTransaction() Handle database transactions on the specified connections.

DatabaseTokenRepository::__construct()

void __construct(ConnectionInterface $connection, string $table, string $hashKey, int $expires = 60) Create a new token repository instance. Parameters ConnectionInterface $connection string $table string $hashKey int $expires Return Value void