interface TokenRepositoryInterface

Methods

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.

Details

at line 15
string create(CanResetPassword $user)

Create a new token.

Parameters

CanResetPassword $user

Return Value

string

at line 24
bool exists(CanResetPassword $user, string $token)

Determine if a token record exists and is valid.

Parameters

CanResetPassword $user
string $token

Return Value

bool

at line 32
void delete(CanResetPassword $user)

Delete a token record.

Parameters

CanResetPassword $user

Return Value

void

at line 39
void deleteExpired()

Delete expired tokens.

Return Value

void