Exchange custom token for an ID and refresh token
Source:R/frbs_exchange_custom_token.R
frbs_exchange_custom_token.RdExchanges a custom Auth token for an ID and refresh token
Value
A named list with the following items:
idToken: A Firebase Auth ID token generated from the provided custom token.refreshToken: A Firebase Auth refresh token generated from the provided custom token.expiresIn: The number of seconds in which the ID token expires.error:NULLif no error code in responseA list of 2 if response was an error:
code: Error codemessage: Error message
Details
Visit Firebase Auth REST API docs for more details