Updates the access 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
Access token to store in memory, or null to clear
Returns void
Example
// Update token in memory after refresh setAccessTokenState(newAccessToken);
Sets the in-memory access token
Updates the access 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.