login
Parameters
Context: The application context.
RegistrationCallback.LoginType: The login type.
String: the activation code in case the login type is :
ACTIVATION_CODE_SENT_BY_SMS_OR_EMAILACTIVATION_CODE_PROVIDED_BY_ADMINISTRATOROtherwise the link sent by SMS or email.Pay attention to send a correct link to avoid having MalformedURLException.
Please note that the link should start with host name configured in environment part, please see setHostNameUrl
CompletionCallback: A callback to be implemented in order to receive information about the login process.Please see CompletionCallback
Throws
,IllegalArgumentExceptionif no protocol is specified, or an unknown protocol is found, or the provided linkOrActivationCode is empty or null.
Parameters
Context: The application context.
RegistrationCallback.LoginType: The login type.
String: the activation code in case the login type is :
ACTIVATION_CODE_SENT_BY_SMS_OR_EMAILACTIVATION_CODE_PROVIDED_BY_ADMINISTRATOROtherwise the link sent by SMS or email.Pay attention to send a correct link to avoid having MalformedURLException.
Please note that the link should start with host name configured in environment part, please see setHostNameUrl
Boolean: true when the login is issued from NFC, false otherwise
CompletionCallback: A callback to be implemented in order to receive information about the login process.Please see CompletionCallback
Throws
,IllegalArgumentExceptionif no protocol is specified, or an unknown protocol is found, or the provided linkOrActivationCode is empty or null.