Class TotpEnrollment

java.lang.Object
com.codename1.backend.security.mfa.TotpEnrollment

public final class TotpEnrollment extends Object
What a user needs to add the server to their authenticator app: shown once, when enrolment begins.
  • Method Details

    • getSecret

      public String getSecret()
      The secret in Base32, for typing into an app by hand.
    • getOtpauthUri

      public String getOtpauthUri()
      The otpauth:// URI an app reads from a QR code.