Package net.sf.basedb.core
Class SessionControl.UnverifiedDeviceInfo
java.lang.Object
net.sf.basedb.core.SessionControl.UnverifiedDeviceInfo
- Enclosing class:
- SessionControl
Class for storing temporary device information for a user
that has been authenticated but before a device has been
verified.
- Since:
- 3.12
-
Field Summary
Modifier and TypeFieldDescription(package private) AuthenticatedUser
(package private) UserDeviceData
(package private) LoginRequest
(package private) String
(package private) String
(package private) String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The preferred setting for the "rememberDevice" parameter when verifying the device.Get the token for this device.Get the email to the user.Get the name of the user.
-
Field Details
-
device
UserDeviceData device -
loginRequest
LoginRequest loginRequest -
authenticatedUser
AuthenticatedUser authenticatedUser -
verificationCode
String verificationCode -
userName
String userName -
userEmail
String userEmail
-
-
Constructor Details
-
UnverifiedDeviceInfo
public UnverifiedDeviceInfo()
-
-
Method Details
-
getDeviceToken
Get the token for this device. If the verification is successful (seeSessionControl.verifyDevice(String, boolean)
the client must store this token and submit it together with the login information the next time the user is logging in. -
getUserName
Get the name of the user. -
getUserEmail
Get the email to the user. -
getDefaultRememberDevice
public boolean getDefaultRememberDevice()The preferred setting for the "rememberDevice" parameter when verifying the device.
-