Documentation
¶
Overview ¶
Package auth provides authentication utilities including Firebase token management
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenManager ¶
TokenManager handles Firebase custom token generation and caching. It automatically refreshes tokens before expiration and is safe for concurrent use.
func NewTokenManager ¶
func NewTokenManager(serviceID string, credentialsFile ...string) (TokenManager, error)
NewTokenManager creates a TokenManager for service-to-service authentication. The serviceID parameter is used to identify your service in Firebase logs.
Click to show internal directories.
Click to hide internal directories.