Ballerina Central will undergo scheduled maintenance on Wednesday, August 06, from 00:30 AM to 01:30 AM UTC. During this time, Ballerina Central login and sign up will be temporarily disabled. We appreciate your patience as we work to improve your experience. For more information, reach out to contact@ballerina.io
 

Module firebase_auth

lakpahana/firebase_auth

1.0.1
Module Overview

This module provides functionality for generating Firebase authentication tokens using a service account JSON file. It is designed to streamline secure integration with Firebase services by leveraging JWT-based authentication and OAuth2 token generation.

Key Features:

  • Reads and processes Firebase service account credentials from a JSON file.
  • Generates signed JWT tokens for Firebase authentication.
  • Retrieves OAuth2 access tokens using the generated JWT.
  • Handles token expiration and automatically regenerates tokens.

This module simplifies the process of authenticating and interacting with Firebase APIs in Ballerina programs.

Import

import lakpahana/firebase_auth;Copy

Other versions

Metadata

Released date: 8 months ago

Version: 1.0.1


Compatibility

Platform: any

Ballerina version: 2201.8.4

GraalVM compatible: Yes


Pull count

Total: 17

Current verison: 17


Weekly downloads