cleevio/CleevioFirebaseAuth
Swift Firebase service
Features
- Firebase Authentication: Core functionality for integrating Firebase authentication.
- Apple Sign-In: Integrate Apple Sign-In with Firebase.
- Google Sign-In: Integrate Google Sign-In with Firebase.
- Facebook Login: Integrate Facebook Login with Firebase.
- Modular Design: Each authentication method is provided as a separate library, allowing you to only include the functionality you need.
Requirements
- iOS 13.0+ / macOS 10.15+
- Swift 5.8+
- Xcode 14.0+
Installation
To integrate CleevioFirebaseAuth into your Xcode project using Swift Package Manager, add it as a dependency in your Package.swift file:
dependencies: [
.package(
url: "https://github.com/cleevio/CleevioFirebaseAuth",
.upToNextMajor(from: "2.0.0")
)
]Usage
After integrating the package, you can start using the libraries in your project. Here is an example of how to use the CleevioGoogleAuth for Google authentication:
import CleevioGoogleAuth
let authService = FirebaseAuthenticationService()
let googleAuthProvider = GoogleAuthenticationProvider()
googleAuthProvider.presentingViewController = yourViewController
do {
let authResult = try await authService.signIn(with: googleAuthProvider)
// Handle successful authentication
} catch {
// Handle errors
}Developed by
The good guys from Cleevio.
[Cleevio logo]
Package Metadata
Repository: cleevio/CleevioFirebaseAuth
Stars: 0
Forks: 1
Open issues: 0
Default branch: main
Primary language: swift
License: MIT
README: README.md