Class TwoFactorToken

java.lang.Object
springboot.bg.harisauto.twofactor.TwoFactorToken

@Entity public class TwoFactorToken extends Object
TwoFactorToken.java - A one-time code emailed to a user during sign-in.

The code itself is never stored. Only a BCrypt hash is kept, so a reader of the database cannot complete somebody's sign-in.

Author:
Kristian Popov
  • Constructor Details

    • TwoFactorToken

      public TwoFactorToken()