Fast Identity Online Universal Second Factor API for Android

The Android Fast Identity Online Universal 2nd Factor (FIDO U2F) API allows you to add strong physical second factor (U2F) authentication to your Android apps. The API supports both NFC and BLE U2F devices. Details of the U2F protocol can be found at the FIDO Alliance.

Android Integration

To integrate FIDO U2F into your Android app, you must add calls to the FIDO U2F API to your app. The U2fApiClient class is the main entry point to the API.

The API consists of two operations:

  • Registration is done once per U2F device per account, when the user associates a new U2F device with their account.
  • Signing is done whenever the registering party wants to authenticate a user.

Both registration and signing operations cause UI to be drawn.

A sample application demonstrating API usage can be found at