change_password {firebase.auth.rest}R Documentation

Change password

Description

Change password

Usage

change_password(id_token, password)

Arguments

id_token

A Firebase Auth ID token for the user.

password

User's new password.

Details

Visit Firebase Auth REST API docs for more details

Value

A named list with the following items:

Examples

## Not run: 
  # first sign in user and get the 'id_token':
  user <- sign_in(email = "user@gmail.com", password = "password")
  id_token <- user$idToken

  # change password:
  response <- change_password(
    id_token = id_token,
    password = "new-user-password"
  )
  response

## End(Not run)

[Package firebase.auth.rest version 1.0.1 Index]