Package org.signal.libsignal.net
Class RegistrationLockException
-
- All Implemented Interfaces:
-
java.io.Serializable
public class RegistrationLockException extends RegistrationException
Thrown when a registration request is made for an account that has registration lock enabled.
When the websocket transport is in use, this corresponds to a
HTTP 423response to a POST request to/v1/registration.
-
-
Field Summary
Fields Modifier and Type Field Description public DurationtimeRemainingpublic Stringsvr2Usernamepublic Stringsvr2Passwordpublic Throwablecausepublic Array<StackTraceElement>stackTrace
-
Method Summary
Modifier and Type Method Description DurationgetTimeRemaining()Time remaining before the existing registration lock expires. StringgetSvr2Username()SVR username to use to recover the secret used to derive the registration lock password. StringgetSvr2Password()SVR password to use to recover the secret used to derive the registration lock password. StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTimeRemaining
Duration getTimeRemaining()
Time remaining before the existing registration lock expires.
-
getSvr2Username
String getSvr2Username()
SVR username to use to recover the secret used to derive the registration lock password.
-
getSvr2Password
String getSvr2Password()
SVR password to use to recover the secret used to derive the registration lock password.
-
-
-
-