interface TokenRepositoryInterface (View source)

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( string $token)

Delete a token record.

void
deleteExpired()

Delete expired tokens.

Details

at line line 15
string create( CanResetPassword $user)

Create a new token.

Parameters

CanResetPassword $user

Return Value

string

at line 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 line 32
void delete( string $token)

Delete a token record.

Parameters

string $token

Return Value

void

at line line 39
void deleteExpired()

Delete expired tokens.

Return Value

void