Updates the refresh token in memory for fast retrieval by future operations.
This function does not persist the token to storage - that responsibility
belongs to the token operations module.
Parameters
token: null|string
Refresh token to store in memory, or null to clear
Returns void
Example
// Update refresh token in memory after authentication setRefreshTokenState(newRefreshToken);
Sets the in-memory refresh token
Updates the refresh token in memory for fast retrieval by future operations. This function does not persist the token to storage - that responsibility belongs to the token operations module.