authsignal_flutter 3.0.0
authsignal_flutter: ^3.0.0 copied to clipboard
The Authsignal Flutter SDK for Passkeys, Push, QR, and In-App Authentication
3.0.0 #
- Updated the Android dependency to Authsignal Android
4.0.0, which is compiled against Ktor 3.
2.7.0 #
- Added opt-in passkey credential sync support with
syncCredentialsfor sign-up and sign-in. - Updated native dependencies to Authsignal iOS
~> 2.10.0and Authsignal Android3.11.0. - Raised Android build tooling to support AndroidX Credentials 1.6.0.
2.6.0 #
- Added an optional
pushTokenparameter topush.addCredentialfor registering a device push token during enrollment.
2.5.0 #
- Added public custom data points to challenge responses: action-scope data under
customand user-scope data underuser.customonAppChallengeandClaimChallengeResponse.
2.4.1 #
- Added Authsignal SDK identity/version headers and wrapper-aware User-Agent metadata for native mobile requests.
2.4.0 #
New Features #
- Added
Authsignal.getDeviceId()and adeviceIDconstructor parameter for cross-platform device identifiers. - Added
passkey.shouldPromptToCreatePasskey({username}). - Added
passkey.signUp(ignorePasskeyAlreadyExistsError: ...)to suppress the "passkey already exists" error. - Added Flutter web credential tracking for
passkey.shouldPromptToCreatePasskey({username})and pinned the browser SDK CDN version. - Expanded
push.addCredential,qr.addCredential, andinapp.addCredentialwithrequireUserAuthentication,keychainAccess, andperformAttestationparameters (iOS honors all three; Android honorsperformAttestation). - Added
usernameparameter toinapp.getCredential,inapp.addCredential,inapp.removeCredential, andinapp.verify. - Added
actionparameter toinapp.verify. - Added PIN authentication suite:
inapp.createPin,inapp.verifyPin,inapp.deletePin,inapp.getAllPinUsernames. - Added
KeychainAccessenum andVerifyPinResponsetype. ClaimChallengeResponsenow includesactionCodeandidempotencyKey.- Flutter web
getDeviceIdnow persists a generated identifier vialocalStorage(usescrypto.randomUUID()when available) so repeat calls return the same value.
2.3.0 #
Flutter Web Support #
- Added SMS OTP support for Flutter web (
sms.enroll,sms.challenge,sms.verify). - Added TOTP/Authenticator app support for Flutter web (
totp.enroll,totp.verify). - Added WhatsApp OTP support for Flutter web (
whatsapp.challenge,whatsapp.verify). - Updated example app with SMS OTP, TOTP, and WhatsApp sections for web.
2.2.0 #
- Migrate from deprecated
dart:htmlanddart:js_utiltopackage:webanddart:js_interopfor Flutter web support.
2.1.0 #
Flutter Web Support #
- Federated plugin structure with shared platform interface and dedicated web implementation.
- Flutter web support for email OTP and passkeys via Authsignal Browser SDK (automatic script loading, no manual
<script>tag required). - Passkey flows (
signUp,signIn) for Flutter web apps (docs). - Public API updated so
Authsignalinitialization,setToken, and authenticator methods delegate through platform interface. - Example app extended with passkey and email OTP demos.
2.0.0 #
Breaking Changes #
- Remove
devicenamespace for all app verification flows. Introduceqrandinappalongsidepushto use instead. - The
push.getCredentialmethod now returnsAuthsignalResponse<AppCredential?>instead ofAuthsignalResponse<PushCredential?>. - The
push.addCredentialmethod now returnsAuthsignalResponse<AppCredential>instead ofAuthsignalResponse<bool>. - Renamed
PushCredentialtoAppCredentialand addeduserIdfield. - Renamed
PushChallengetoAppChallenge. - Removed
DeviceCredential,DeviceChallenge, andVerifyDeviceResponsetypes. - Added
InAppVerifyResponsetype for in-app authentication verification.
New Features #
- Added
qrnamespace with methods:qr.getCredential()- Get QR code credentialqr.addCredential()- Add QR code credentialqr.removeCredential()- Remove QR code credentialqr.claimChallenge()- Claim QR code challengeqr.updateChallenge()- Update QR code challenge
- Added
inappnamespace with methods:inapp.getCredential()- Get in-app credentialinapp.addCredential()- Add in-app credentialinapp.removeCredential()- Remove in-app credentialinapp.verify()- Verify in-app authentication
1.2.1 #
Documentation
1.2.0 #
- Add device credentials SDK methods
0.1.1 #
- Make versioning consistent.
0.1.0 #
- Authsignal Flutter SDK initial release.