Namespace: auth

Methods

exampleUserRecord

static

exampleUserRecord() returns functions.auth.UserRecord

Fetch an example UserRecord already populated with data.

Returns

non-null functions.auth.UserRecord 

makeUserRecord

static

makeUserRecord(fields) returns functions.auth.UserRecord

Function to create a UserRecord.

Parameter

fields

Object

Fields of UserRecord to specify. Can be any subset of the fields in functions.auth.UserRecord.

Value must not be null.

Returns

non-null functions.auth.UserRecord 

Firebase Authentication lets you add an end-to-end identity solution to your app for easy user authentication, sign-in, and onboarding in just a few lines of code.

Updated Feb 21, 2025