Module jwt

Source
Expand description

§A Firestore Auth Session token is a Javascript Web Token (JWT). This module contains JWT helper functions.

Modules§

session_cookie

Structs§

JWKSet
JWSEntry
JwtOAuthPrivateClaims
TokenValidationResult

Statics§

JWT_AUDIENCE_FIRESTORE
JWT_AUDIENCE_IDENTITY

Functions§

download_google_jwks
Download the Google JWK Set for a given service account. Returns the JWKS alongside the maximum time the JWKS is valid for. The resulting set of JWKs need to be added to a credentials object for jwk verifications.