Package com.dzidzi.dto.credential
Class CredentialEntityApi
java.lang.Object
com.dzidzi.dto.merge.EntityId
com.dzidzi.dto.credential.CredentialEntityApi
- Direct Known Subclasses:
Credential
-
Constructor Summary
ConstructorsConstructorDescriptionCredentialEntityApi(UUID id, String email, String username, boolean enabled, boolean twoFactEnabled, String verificationCode) -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()The email of the credentialThe unique usernameThe unique verification code of the credentialbooleanWhen true user is activated and if false user is not activatedbooleanWhen true user has 2FA enabled and false not enabled
-
Constructor Details
-
CredentialEntityApi
-
-
Method Details
-
getEmail
The email of the credential -
getUsername
The unique username -
isEnabled
public boolean isEnabled()When true user is activated and if false user is not activated -
isTwoFactEnabled
public boolean isTwoFactEnabled()When true user has 2FA enabled and false not enabled -
getVerificationCode
The unique verification code of the credential
-