├── .gitignore ├── .glitch-assets ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── android ├── .gitignore ├── .idea │ ├── appInsightsSettings.xml │ ├── codeStyles │ │ ├── Project.xml │ │ └── codeStyleConfig.xml │ ├── compiler.xml │ ├── copyright │ │ ├── Google.xml │ │ └── profiles_settings.xml │ ├── deploymentTargetDropDown.xml │ ├── dictionaries │ │ └── project.xml │ ├── encodings.xml │ ├── gradle.xml │ ├── jarRepositories.xml │ ├── kotlinc.xml │ ├── migrations.xml │ ├── misc.xml │ └── vcs.xml ├── app-start │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── fido2 │ │ │ ├── Base64Ext.kt │ │ │ ├── Fido2App.kt │ │ │ ├── api │ │ │ ├── AddHeaderInterceptor.kt │ │ │ ├── ApiException.kt │ │ │ ├── ApiResult.kt │ │ │ ├── AuthApi.kt │ │ │ └── Credential.kt │ │ │ ├── repository │ │ │ ├── AuthRepository.kt │ │ │ └── SignInState.kt │ │ │ └── ui │ │ │ ├── MainActivity.kt │ │ │ ├── MainViewModel.kt │ │ │ ├── auth │ │ │ ├── AuthFragment.kt │ │ │ └── AuthViewModel.kt │ │ │ ├── home │ │ │ ├── CredentialAdapter.kt │ │ │ ├── DeleteConfirmationFragment.kt │ │ │ ├── HomeFragment.kt │ │ │ └── HomeViewModel.kt │ │ │ └── username │ │ │ ├── UsernameFragment.kt │ │ │ └── UsernameViewModel.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_add.xml │ │ ├── ic_delete.xml │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── auth_fragment.xml │ │ ├── credential_item.xml │ │ ├── home_fragment.xml │ │ ├── main_activity.xml │ │ └── username_fragment.xml │ │ ├── menu │ │ └── home.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── fido2 │ │ │ ├── Base64Ext.kt │ │ │ ├── Fido2App.kt │ │ │ ├── api │ │ │ ├── AddHeaderInterceptor.kt │ │ │ ├── ApiException.kt │ │ │ ├── ApiResult.kt │ │ │ ├── AuthApi.kt │ │ │ └── Credential.kt │ │ │ ├── repository │ │ │ ├── AuthRepository.kt │ │ │ └── SignInState.kt │ │ │ └── ui │ │ │ ├── MainActivity.kt │ │ │ ├── MainViewModel.kt │ │ │ ├── auth │ │ │ ├── AuthFragment.kt │ │ │ └── AuthViewModel.kt │ │ │ ├── home │ │ │ ├── CredentialAdapter.kt │ │ │ ├── DeleteConfirmationFragment.kt │ │ │ ├── HomeFragment.kt │ │ │ └── HomeViewModel.kt │ │ │ └── username │ │ │ ├── UsernameFragment.kt │ │ │ └── UsernameViewModel.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_add.xml │ │ ├── ic_delete.xml │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── auth_fragment.xml │ │ ├── credential_item.xml │ │ ├── home_fragment.xml │ │ ├── main_activity.xml │ │ └── username_fragment.xml │ │ ├── menu │ │ └── home.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── debug.jks ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── libs └── auth.js ├── package.json ├── public ├── client.js ├── components.js └── style.scss ├── server.js ├── views ├── home.html ├── index.html └── reauth.html └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .data 3 | .env 4 | .glitch-assets -------------------------------------------------------------------------------- /.glitch-assets: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/README.md -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.gitignore -------------------------------------------------------------------------------- /android/.idea/appInsightsSettings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/appInsightsSettings.xml -------------------------------------------------------------------------------- /android/.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /android/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /android/.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/compiler.xml -------------------------------------------------------------------------------- /android/.idea/copyright/Google.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/copyright/Google.xml -------------------------------------------------------------------------------- /android/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/copyright/profiles_settings.xml -------------------------------------------------------------------------------- /android/.idea/deploymentTargetDropDown.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/deploymentTargetDropDown.xml -------------------------------------------------------------------------------- /android/.idea/dictionaries/project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/dictionaries/project.xml -------------------------------------------------------------------------------- /android/.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/encodings.xml -------------------------------------------------------------------------------- /android/.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/gradle.xml -------------------------------------------------------------------------------- /android/.idea/jarRepositories.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/jarRepositories.xml -------------------------------------------------------------------------------- /android/.idea/kotlinc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/kotlinc.xml -------------------------------------------------------------------------------- /android/.idea/migrations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/migrations.xml -------------------------------------------------------------------------------- /android/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/misc.xml -------------------------------------------------------------------------------- /android/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/.idea/vcs.xml -------------------------------------------------------------------------------- /android/app-start/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /android/app-start/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/build.gradle -------------------------------------------------------------------------------- /android/app-start/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/proguard-rules.pro -------------------------------------------------------------------------------- /android/app-start/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/Base64Ext.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/Base64Ext.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/Fido2App.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/Fido2App.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/api/AddHeaderInterceptor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/api/AddHeaderInterceptor.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/api/ApiException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/api/ApiException.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/api/ApiResult.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/api/ApiResult.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/api/AuthApi.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/api/AuthApi.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/api/Credential.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/api/Credential.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/repository/AuthRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/repository/AuthRepository.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/repository/SignInState.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/repository/SignInState.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/MainActivity.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/MainViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/MainViewModel.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/auth/AuthFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/auth/AuthFragment.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/auth/AuthViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/auth/AuthViewModel.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/home/CredentialAdapter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/home/CredentialAdapter.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/home/DeleteConfirmationFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/home/DeleteConfirmationFragment.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/home/HomeFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/home/HomeFragment.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/home/HomeViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/home/HomeViewModel.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/username/UsernameFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/username/UsernameFragment.kt -------------------------------------------------------------------------------- /android/app-start/src/main/java/com/example/android/fido2/ui/username/UsernameViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/java/com/example/android/fido2/ui/username/UsernameViewModel.kt -------------------------------------------------------------------------------- /android/app-start/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/drawable/ic_add.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/drawable/ic_add.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/drawable/ic_delete.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/drawable/ic_delete.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/layout/auth_fragment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/layout/auth_fragment.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/layout/credential_item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/layout/credential_item.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/layout/home_fragment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/layout/home_fragment.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/layout/main_activity.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/layout/main_activity.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/layout/username_fragment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/layout/username_fragment.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/menu/home.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/menu/home.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app-start/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /android/app-start/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app-start/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /android/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/build.gradle -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/Base64Ext.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/Base64Ext.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/Fido2App.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/Fido2App.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/api/AddHeaderInterceptor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/api/AddHeaderInterceptor.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/api/ApiException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/api/ApiException.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/api/ApiResult.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/api/ApiResult.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/api/AuthApi.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/api/AuthApi.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/api/Credential.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/api/Credential.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/repository/AuthRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/repository/AuthRepository.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/repository/SignInState.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/repository/SignInState.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/MainActivity.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/MainViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/MainViewModel.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/auth/AuthFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/auth/AuthFragment.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/auth/AuthViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/auth/AuthViewModel.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/home/CredentialAdapter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/home/CredentialAdapter.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/home/DeleteConfirmationFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/home/DeleteConfirmationFragment.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/home/HomeFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/home/HomeFragment.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/home/HomeViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/home/HomeViewModel.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/username/UsernameFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/username/UsernameFragment.kt -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/android/fido2/ui/username/UsernameViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/java/com/example/android/fido2/ui/username/UsernameViewModel.kt -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/ic_add.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/drawable/ic_add.xml -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/ic_delete.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/drawable/ic_delete.xml -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /android/app/src/main/res/layout/auth_fragment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/layout/auth_fragment.xml -------------------------------------------------------------------------------- /android/app/src/main/res/layout/credential_item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/layout/credential_item.xml -------------------------------------------------------------------------------- /android/app/src/main/res/layout/home_fragment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/layout/home_fragment.xml -------------------------------------------------------------------------------- /android/app/src/main/res/layout/main_activity.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/layout/main_activity.xml -------------------------------------------------------------------------------- /android/app/src/main/res/layout/username_fragment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/layout/username_fragment.xml -------------------------------------------------------------------------------- /android/app/src/main/res/menu/home.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/menu/home.xml -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /android/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/build.gradle -------------------------------------------------------------------------------- /android/debug.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/debug.jks -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/gradle.properties -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/gradlew -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/gradlew.bat -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/android/settings.gradle -------------------------------------------------------------------------------- /libs/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/libs/auth.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/package.json -------------------------------------------------------------------------------- /public/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/public/client.js -------------------------------------------------------------------------------- /public/components.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/public/components.js -------------------------------------------------------------------------------- /public/style.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/public/style.scss -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/server.js -------------------------------------------------------------------------------- /views/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/views/home.html -------------------------------------------------------------------------------- /views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/views/index.html -------------------------------------------------------------------------------- /views/reauth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/views/reauth.html -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/codelab-fido2/HEAD/webpack.config.js --------------------------------------------------------------------------------