bloonio_auth_passkeys 0.1.2
bloonio_auth_passkeys: ^0.1.2 copied to clipboard
Bloonio passkeys (FIDO2/WebAuthn) SDK for Flutter — username-less sign-in, enrollment, and device management against your tenant backend's WebAuthn endpoints.
Changelog #
0.1.2 #
- Add
BloonioPasskeysConfig.headerProvider(PasskeyHeaderProvider): an optional per-request supplier of extra headers attached to every backend call. Needed where the tenant backend requires headers beyondAuthorizationthat the app's own HTTP stack normally injects — e.g. a device-binding header, an api-consumer key, or an app-type marker. The SDK still setsAuthorizationandOriginitself and applies them on top, so those win.
0.1.1 #
- Docs/example: use the reserved placeholder
https://api.example.comfor the tenantbaseUrlinstead of a concrete deployment host.
0.1.0 #
Initial release — Milestone 3 of the Bloonio passkeys initiative.
BloonioAuth.passkeyssurface:register,signIn,signInWithHint,list,rename,revoke,isSupported.- Native FIDO2/WebAuthn ceremony via the
passkeys(Corbado) package, wrapped behind thePasskeyAuthenticatorinterface (no Corbado types in the public API). - Targets the tenant backend's
/auth/webauthn/*endpoints; sign-in returns aPasskeySessionidentical to password login. - Typed errors (
PasskeyUnsupported,PasskeyCancelled,PasskeyNoCredential,PasskeyPairingRequired,PasskeyAuthRequired,PasskeyRateLimited,PasskeyFailed). PasskeyDevicesScreen— drop-in French "Mes appareils" management screen.- Unit tests with a mocked authenticator + fake API.