Crates.io | firebase-token |
lib.rs | firebase-token |
version | 0.3.0 |
source | src |
created_at | 2022-11-04 00:19:34.238864 |
updated_at | 2023-01-11 20:23:34.552173 |
description | A firebase ID token validator written in Rust. |
homepage | |
repository | https://github.com/bob22z/firebase-token |
max_upload_size | |
id | 704709 |
size | 21,026 |
Validate firabase ID token written in Rust
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;
MIT