TokenRepositoryInterface
interface TokenRepositoryInterface (View source)
Methods
Details
string
create(CanResetPassword $user)
Create a new token.
bool
exists(CanResetPassword $user, string $token)
Determine if a token record exists and is valid.
void
delete(CanResetPassword $user)
Delete a token record.
void
deleteExpired()
Delete expired tokens.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.