mirror of
https://github.com/Yubico/yubikit-swift.git
synced 2026-05-10 06:02:32 +00:00
OATHSample
SwiftUI authenticator app demonstrating OATH/TOTP functionality with YubiKit.
Overview
This sample app shows how to:
- Connect to YubiKeys via NFC, USB-C, and Lightning
- Read TOTP/HOTP codes from the YubiKey
- Handle connection lifecycle in a reactive UI
- Display device information
Documentation
For a detailed walkthrough of this sample, see the OATHSample documentation.
Build and Run
Open OATHSample.xcodeproj in Xcode and run on a physical device (for NFC support) or macOS.