p

package module
v0.0.0-...-4badc5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package p contains a Cloud Function that processes Firebase Authentication events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelloAuth

func HelloAuth(ctx context.Context, e AuthEvent) error

HelloAuth handles changes to Firebase Auth user objects.

Types

type AuthEvent

type AuthEvent struct {
	Email string `json:"email"`
	UID   string `json:"uid"`
}

AuthEvent is the payload of a Firebase Auth event.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL