Stay organized with collections
Save and categorize content based on your preferences.
public abstract class AuthTokenFactory extends Object
Provides authorization tokens for accessing the ridesharing provider's service account on
RideEngine via gRPC. The factory ensures that there is always a valid access token available.
The access token will have a remaining minimum lifetime of at least five minutes. That means
that the access token factory must automatically renew expiring tokens. It shoud also minimize
the number of token refreshes by re-using a token until its lifetime nears its end.