Class QRConfig
java.lang.Object
io.jans.casa.plugins.authnmethod.conf.QRConfig
- Direct Known Subclasses:
OTPConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormattedQROptions(int maxWidth) Creates a string for a Javascript object representation of two values: size and mSize for QR codegetLabel()doubleintvoidpopulate(org.json.JSONObject properties) voidvoidsetQrMSize(double qrMSize) voidsetQrSize(int qrSize)
-
Constructor Details
-
QRConfig
public QRConfig()
-
-
Method Details
-
populate
- Throws:
Exception
-
getFormattedQROptions
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
-
getLabel
-
setLabel
-
getQrSize
public int getQrSize() -
setQrSize
public void setQrSize(int qrSize) -
getQrMSize
public double getQrMSize() -
setQrMSize
public void setQrMSize(double qrMSize)
-