-
initialize() : voidInitialize token's relations, remove expired tokens.
-
Generate a new unique token and create the token.
-
deleteExpired() : voidDeletes all expired tokens.
-
Generate a new unique token and update the token.
-
generate() : stringGenerate a new unique token.
-
public function initialize()
Initialize token's relations, remove expired tokens. -
public function create(variable $fields, variable $extra)
Generate a new unique token and create the token. -
public function deleteExpired()
Deletes all expired tokens. -
public function update(variable $fields, variable $extra)
Generate a new unique token and update the token. -
protected function generate()
Generate a new unique token.