Oh, and cache the bearer token so that it doesn't need to request it multiple times.