firebase_tools.authenticate

async firebase_tools.authenticate.authenticate_with_firebase(email, password)[source]

Authenticate with Firebase and return token if successful, or an error message.

async firebase_tools.authenticate.check_str_token_validity(idToken)[source]

Check if a Firebase token is valid.

async firebase_tools.authenticate.check_token_validity(token: str = Depends(OAuth2PasswordBearer))[source]

Check if a Firebase token is valid.