Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,6 @@ use rs_firebase_admin_sdk::{

// Supply the Firebase project ID directly instead of reading GOOGLE_CLOUD_PROJECT
let live_app = App::live_with_project_id("my-firebase-project-id").await.unwrap();

let auth_admin = live_app.auth();

let user = auth_admin.get_user(
UserIdentifiers::builder()
.with_email("me@email.com".into())
.build()
)
.await
.expect("Error while fetching user")
.expect("User does not exist");

println!("User id: {}", user.uid);
```

For more examples please see https://github.com/expl/rs-firebase-admin-sdk/tree/main/examples
For more examples please see https://github.com/expl/rs-firebase-admin-sdk/tree/main/examples
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rs-firebase-admin-sdk"
version = "4.2.0"
version = "4.2.1"
rust-version = "1.88"
edition = "2024"
authors = ["Kostas Petrikas"]
Expand Down
2 changes: 1 addition & 1 deletion lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl App<AccessTokenCredentials> {
.change_context(credentials::GCPCredentialsError)
}

// /// Create cookie token verifier
/// Create cookie token verifier
#[cfg(feature = "tokens")]
pub async fn cookie_token_verifier(
&self,
Expand Down
Loading