Native Swift SDK for smbCloud Auth. AuthCore is now a faithful pure-Swift port of the canonical Rust client SDK (smbcloud-cli/crates/smbcloud-auth-sdk) — no Rust/UniFFI dependency, builds with swift build on Apple and Linux.
Features
AuthCoreClient(confidential tenant client):login,signup,me,logout,remove, Apple provider helpers, and account recovery (requestPasswordReset,completePasswordReset,resendConfirmation).OIDC: public-client Authorization Code + PKCE flow.SmbCloudAuth(Apple UI):SmbCloudWebAuthover the OIDC flow + Keychain-backedSmbCloudCredentialsManager.
Breaking changes (vs 1.0.1)
- Removed the platform OAuth
SmbCloudAuthClient/SmbCloudUserInfoClient/SmbCloudClientErrorand the UniFFISmbCloudAuthFFIbridge. SmbCloudWebAuthinitializer is nowinit(environment:oidcClientId:redirectURL:)(non-throwing);userInforeturnsOIDC.UserInfo.- New error model:
SmbCloudError/SmbCloudErrorCode.
See Docs/AuthCore-SDK-Surface.md for the full surface.
What's Changed
- Decouple cross-platform AuthCore from Apple UI layer by @setoelkahfi in #1
- Ignore Package.resolved; drop stale FFI ignore by @setoelkahfi in #2
New Contributors
- @setoelkahfi made their first contribution in #1
Full Changelog: v1.0.1...v1.1.0