Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class TotpEnrollment
- Object
- TotpEnrollment
What a user needs to add the server to their authenticator app: shown once,
when enrolment begins.
Methods
public String getSecret() | The secret in Base32, for typing into an app by hand. |
public String getOtpauthUri() | The otpauth:// URI an app reads from a QR code. |
Inherited methods
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.