This documentation states:
Firebase ID tokens are short lived and last for an hour; the refresh token can be used to retrieve new ID tokens.
Am I right to say that refresh tokens essentially act as both the password and identification for the client device simultaneously, and that having the refresh token means being able to retrieve an ID token, and thus being able to authenticate as the user associated with that refresh token?
If that is so, what is the purpose of having these two distinct tokens?
Thanks.