DatabaseTokenRepository::getConnection()

ConnectionInterface getConnection() Get the database connection instance. Return Value ConnectionInterface

DatabaseTokenRepository::exists()

bool exists(CanResetPassword $user, string $token) Determine if a token record exists and is valid. Parameters CanResetPassword $user string $token Return Value bool

DatabaseTokenRepository::deleteExpired()

void deleteExpired() Delete expired tokens. Return Value void

DatabaseTokenRepository::delete()

void delete(string $token) Delete a token record by token. Parameters string $token Return Value void

DatabaseTokenRepository::createNewToken()

string createNewToken() Create a new token for the user. Return Value string

DatabaseTokenRepository::create()

string create(CanResetPassword $user) Create a new token record. Parameters CanResetPassword $user Return Value string

DatabaseTokenRepository

DatabaseTokenRepository class DatabaseTokenRepository implements TokenRepositoryInterface (View source) Methods void __construct(ConnectionInterface $connection, string $table, string $hashKey, int $expires = 60) Create a new token repository instance. string create(CanResetPassword $user) Create a new token record. bool exists(CanResetPassword $user, string $token) Determine if a token record exists and is valid. void delete(string $token) Delete a token record by token.

DatabaseStore::__construct()

void __construct(ConnectionInterface $connection, Encrypter $encrypter, string $table, string $prefix = '') Create a new database store. Parameters ConnectionInterface $connection Encrypter $encrypter string $table string $prefix Return Value void

DatabaseStore::putMany()

void putMany(array $values, float|int $minutes) Store multiple items in the cache for a given number of minutes. Parameters array $values float|int $minutes Return Value void

DatabaseStore::put()

void put(string $key, mixed $value, float|int $minutes) Store an item in the cache for a given number of minutes. Parameters string $key mixed $value float|int $minutes Return Value void