Stocke les tokens d'authentification dans le localStorage
Le token d'accès à stocker
Optional
Le refresh token à stocker (optionnel)
setTokens('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...', 'refresh_token_here'); Copy
setTokens('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...', 'refresh_token_here');
Stocke les tokens d'authentification dans le localStorage