Class CredentialEntityApi

java.lang.Object
com.dzidzi.dto.merge.EntityId
com.dzidzi.dto.credential.CredentialEntityApi
Direct Known Subclasses:
Credential

public class CredentialEntityApi extends EntityId
  • Constructor Details

    • CredentialEntityApi

      public CredentialEntityApi(UUID id, String email, String username, boolean enabled, boolean twoFactEnabled, String verificationCode)
  • Method Details

    • getEmail

      public String getEmail()
      The email of the credential
    • getUsername

      public String 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

      public String getVerificationCode()
      The unique verification code of the credential