Class QRConfig

java.lang.Object
io.jans.casa.plugins.authnmethod.conf.QRConfig
Direct Known Subclasses:
OTPConfig

public class QRConfig extends Object
  • Constructor Details

    • QRConfig

      public QRConfig()
  • Method Details

    • populate

      public void populate(org.json.JSONObject properties) throws Exception
      Throws:
      Exception
    • getFormattedQROptions

      public String getFormattedQROptions(int maxWidth)
      Creates a string for a Javascript object representation of two values: size and mSize for QR code
      Parameters:
      maxWidth - A parameter employed to limit the size of the QR
      Returns:
      String
    • getFormattedQROptions

      public String getFormattedQROptions()
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getQrSize

      public int getQrSize()
    • setQrSize

      public void setQrSize(int qrSize)
    • getQrMSize

      public double getQrMSize()
    • setQrMSize

      public void setQrMSize(double qrMSize)