interface Illuminate / Auth / Passwords / TokenRepositoryInterface
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

TokenRepositoryInterface

Methods

public

create ( CanResetPassword $user ) : string

Create a new token.

Parameters

public

exists ( CanResetPassword $user , $token ) : bool

Determine if a token record exists and is valid.

Parameters

public

recentlyCreatedToken ( CanResetPassword $user ) : bool

Determine if the given user recently created a password reset token.

Parameters

public

delete ( CanResetPassword $user ) : void

Delete a token record.

Parameters

public

deleteExpired ( ) : void

Delete expired tokens.