Spaces:
No application file
No application file
File size: 419 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
<?php
namespace Mautic\UserBundle\Model\UserToken;
use Mautic\UserBundle\Entity\UserToken;
/**
* Interface UserTokenServiceInterface.
*/
interface UserTokenServiceInterface
{
/**
* @param int $secretLength
*
* @return UserToken
*/
public function generateSecret(UserToken $token, $secretLength = 32);
/**
* @return bool
*/
public function verify(UserToken $token);
}
|