public class AccessTokenSession extends Session<AccessTokenAuthenticator>
UberRidesApi will interact with the API.
Does authentication through either a server token or OAuth 2.0 credential, exactly one of which must exist.
Uses AccessTokenStorage for connection| Constructor and Description |
|---|
AccessTokenSession(SessionConfiguration config,
AccessTokenStorage accessTokenStorage) |
getAuthenticatorpublic AccessTokenSession(@Nonnull
SessionConfiguration config,
@Nonnull
AccessTokenStorage accessTokenStorage)
config - config to define connection parametersaccessTokenStorage - to access and refresh tokens