File tree Expand file tree Collapse file tree 3 files changed +3
-16
lines changed
Expand file tree Collapse file tree 3 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -48,19 +48,6 @@ use rs_firebase_admin_sdk::{
4848
4949// Supply the Firebase project ID directly instead of reading GOOGLE_CLOUD_PROJECT
5050let live_app = App :: live_with_project_id (" my-firebase-project-id" ). await . unwrap ();
51-
52- let auth_admin = live_app . auth ();
53-
54- let user = auth_admin . get_user (
55- UserIdentifiers :: builder ()
56- . with_email (" me@email.com" . into ())
57- . build ()
58- )
59- . await
60- . expect (" Error while fetching user" )
61- . expect (" User does not exist" );
62-
63- println! (" User id: {}" , user . uid);
6451```
6552
66- For more examples please see https://github.com/expl/rs-firebase-admin-sdk/tree/main/examples
53+ For more examples please see https://github.com/expl/rs-firebase-admin-sdk/tree/main/examples
Original file line number Diff line number Diff line change 11[package ]
22name = " rs-firebase-admin-sdk"
3- version = " 4.2.0 "
3+ version = " 4.2.1 "
44rust-version = " 1.88"
55edition = " 2024"
66authors = [" Kostas Petrikas" ]
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ impl App<AccessTokenCredentials> {
105105 . change_context ( credentials:: GCPCredentialsError )
106106 }
107107
108- // // / Create cookie token verifier
108+ /// Create cookie token verifier
109109 #[ cfg( feature = "tokens" ) ]
110110 pub async fn cookie_token_verifier (
111111 & self ,
You can’t perform that action at this time.
0 commit comments