Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 438 Bytes

File metadata and controls

29 lines (18 loc) · 438 Bytes

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