5 releases
0.3.0 | Jan 11, 2023 |
---|---|
0.2.3 | Jan 11, 2023 |
0.2.2 | Nov 4, 2022 |
0.2.1 | Nov 4, 2022 |
0.2.0 | Nov 4, 2022 |
#28 in #firebase
20KB
510 lines
firebase-token
About
Validate firabase ID token written in Rust
Installation
Add the following to Cargo.toml:
[dependencies]
firebase-token = "0.3"
use firebase_token::JwkAuth;
let jwk_auth = JwkAuth::new(FIREBASE_PROJECT_ID).await;
let token_claim = jwk_auth.verify(id_token).await;
License
MIT
Dependencies
~12–25MB
~457K SLoC