firebase-cljs Api Documentation

Version: 1.3.0

firebase-cljs.user

FirebaseUser

protocol

members

get-refreshtoken

(get-refreshtoken _)

A refresh token for the user account. Use only for advanced scenarios that require explicitly refreshing tokens.

get-token

(get-token _)(get-token _ refresh)

Returns a JWT token used to identify the user to a Firebase service.

send-verification

(send-verification _)

Sends a verification email to a user.

remove

(remove _)

Deletes and signs out the user.

reauthenticate

(reauthenticate _ cred)

Re-authenticates a user using a fresh credential.

update-email

(update-email _ email)

Updates the user’s email address.

get-providerdata

(get-providerdata _)

Additional provider-specific information about the user.

update-password

(update-password _ pass)

Updates the user’s password.

update-profile

(update-profile _ profile)

Updates a user’s profile data.

verified?

(verified? _)

True if the user’s email address has been verified.

anonymous?

(anonymous? _)

True if user is anonymous.

reload

(reload _)

Refreshes the current user, if signed in.

FirebaseUserInfo

protocol

members

email

(email _)

The user’s email address (if available).

photo-url

(photo-url _)

The URL of the user’s profile picture (if available).

uid

(uid _)

The user’s unique ID.

name

(name _)

The user’s display name (if available).

providerid

(providerid _)

The authentication provider ID for the current user. For example, ‘facebook.com’, or ‘google.com’.