Whenever you're ready, walk me through how you'd approach this.
How do you handle authentication when interacting with APIs, for example using bearer tokens? Explain how the client obtains, sends, stores, expires, and refreshes an access token, and how the API validates it. Keep the answer focused on HTTP REST APIs and practical security considerations.