Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Explain that first factor and other forms of second factor authentication is up to the developer as to how they want to implement it.

The Sign In Activity must extend SurePassIdU2fSignActivity. It must implement the following abstract methods.

protected abstract void displayMessage(int messageId);

protected abstract void displayMessage(CharSequence message);

protected abstract void gotoTargetActivity();

protected abstract void gotoAlternateVerificationActivity();

protected abstract String getU2fServerUrl();

protected abstract void resetFormValues();

protected abstract void enableForm();

 

Upon successfully authenticating the user it should call

protected void u2fSign(String username)

That method will perform all the necessary U2F operations. 

 

 

  • No labels