public class CheckVerificationResult
extends java.lang.Object
| Constructor and Description |
|---|
CheckVerificationResult(VerificationMode verificationMode,
boolean userVerified,
boolean quickEnabled,
boolean activationRequired,
java.util.Map<java.util.Locale,java.lang.String> administratorActivationContactDetails,
java.util.List<ClientInformation> quickEnabledClients,
int activationCodeLength,
boolean clientVerificationAllowed)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActivationCodeLength()
Returns the fixed length of the activation codes that are used for QUICK access activation.
|
java.util.Map<java.util.Locale,java.lang.String> |
getAdministratorActivationContactDetails()
Returns a
Map with administrator activation contact details by language. |
java.util.List<ClientInformation> |
getQuickEnabledClients()
Returns
ClientInformation objects, one for each QUICK-enabled client known by the server. |
VerificationMode |
getVerificationMode()
Returns the
VerificationMode that is set by the server for the current product. |
boolean |
isActivationRequired()
Returns whether an activation process is required for the user on this client to use QUICK.
|
boolean |
isClientVerificationAllowed()
Returns whether the current
Client allows verifications of mode VerificationMode.CLIENT. |
boolean |
isQuickEnabled()
Returns whether the requesting user is already enabled for QUICK on this client.
|
boolean |
isUserVerified()
Returns whether the requesting user is already verified or not.
|
public CheckVerificationResult(VerificationMode verificationMode, boolean userVerified, boolean quickEnabled, boolean activationRequired, java.util.Map<java.util.Locale,java.lang.String> administratorActivationContactDetails, java.util.List<ClientInformation> quickEnabledClients, int activationCodeLength, boolean clientVerificationAllowed)
verificationMode - The VerificationMode that is set by the server for the current product.userVerified - Whether the requesting user is already verified or not.quickEnabled - Whether the requesting user is already enabled for QUICK on this client.activationRequired - Whether an activation process is required for the user on this client to use QUICK.administratorActivationContactDetails - A Map with administrator activation contact details by language.quickEnabledClients - ClientInformation objects, one for each QUICK-enabled client known by the server.activationCodeLength - The fixed length of the activation codes that are used for QUICK access activation.clientVerificationAllowed - Whether the current Client allows verifications of mode VerificationMode.CLIENT.public boolean isClientVerificationAllowed()
Client allows verifications of mode VerificationMode.CLIENT.public VerificationMode getVerificationMode()
VerificationMode that is set by the server for the current product.public boolean isUserVerified()
public boolean isQuickEnabled()
isUserVerified() is also true.public boolean isActivationRequired()
public int getActivationCodeLength()
isActivationRequired() is false.public java.util.Map<java.util.Locale,java.lang.String> getAdministratorActivationContactDetails()
Map with administrator activation contact details by language. The language is specified as Locale.
The map is always empty if isActivationRequired() is false.public java.util.List<ClientInformation> getQuickEnabledClients()
ClientInformation objects, one for each QUICK-enabled client known by the server. This may include the current client.
The list is always empty if isActivationRequired() is false.ClientInformations.