Class VerificationTokenServiceImpl
java.lang.Object
org.example.crmedu.domain.service.auth.VerificationTokenServiceImpl
- All Implemented Interfaces:
VerificationTokenService
@Service
public class VerificationTokenServiceImpl
extends Object
implements VerificationTokenService
The implementation of the
VerificationTokenService
. Creates new verification token for user.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createVerificationToken
(User user, String token) Creates verification token for selected user after registration.
-
Constructor Details
-
VerificationTokenServiceImpl
public VerificationTokenServiceImpl()
-
-
Method Details
-
createVerificationToken
Description copied from interface:VerificationTokenService
Creates verification token for selected user after registration.- Specified by:
createVerificationToken
in interfaceVerificationTokenService
- Parameters:
user
- user that needs verification tokentoken
- the random token to set
-