firebase-token

Crates.iofirebase-token
lib.rsfirebase-token
version0.3.0
sourcesrc
created_at2022-11-04 00:19:34.238864
updated_at2023-01-11 20:23:34.552173
descriptionA firebase ID token validator written in Rust.
homepage
repositoryhttps://github.com/bob22z/firebase-token
max_upload_size
id704709
size21,026
(bob22z)

documentation

https://docs.rs/firebase-token

README

firebase-token

About

Validate firabase ID token written in Rust

Crates.io

API Docs

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

Commit count: 26

cargo fmt