Expand description
§fars
An unofficial Rust client for Firebase Auth REST API.
§Features
- default
- APIs via session-based interfaces. See
crate::configandcrate::session. - APIs via raw interfaces. See
crate::api.
- APIs via session-based interfaces. See
- (Optional)
verify- ID token verification. See
crate::verification.
- ID token verification. See
- (Optional)
custom_client- HTTP client customization. See
crate::client.
- HTTP client customization. See
Re-exports§
pub use crate::client::Client;pub use crate::config::Config;pub use crate::error::Error;pub use crate::session::Session;
Modules§
- api
- The Firebase Auth REST API impelemntations.
- client
- Provides an internal API client for the Firebase Auth.
- config
- Configuration for the Firebase Auth.
- error
- The error types for APIs.
- session
- Authentication session for a user of the Firebase Auth.
- verification
- Verification of an ID token of the Firebase Auth.
Structs§
- ApiKey
- The Firebase project API key.
- Display
Name - A display name of a user.
- Email of an user.
- Expires
In - Expiration time in seconds of the Firebase Auth ID token.
- IdToken
- ID token of the Firebase Auth.
- OAuth
Continue Uri - OAuth continue URI.
- OAuth
Request Uri - OAuth request URI.
- Password
- Password of an user.
- Photo
Url - A photo URL of a user.
- Project
Id - The Firebase project ID.
- Provider
User Info - Provider user information.
- Refresh
Token - Refresh token of the Firebase Auth to exchange for a new ID token and refresh token.
- User
Data - User data of the Firebase Auth.
Enums§
- Delete
Attribute - Attributes to delete profile information.
- IdpPost
Body - Post body for ID providers contains the OAuth credential and provider ID.
- Language
Code - The BCP 47 language code.
- Provider
Id - ID provider identifiers defined at document.
Type Aliases§
- Result
- The result type for APIs.