public class CredentialsSession extends Session<CredentialsAuthenticator>
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 Credential for connection| Constructor and Description |
|---|
CredentialsSession(SessionConfiguration config,
com.google.api.client.auth.oauth2.Credential credential) |
getAuthenticatorpublic CredentialsSession(@Nonnull
SessionConfiguration config,
@Nonnull
com.google.api.client.auth.oauth2.Credential credential)
config - config to define connection parameterscredential - to access and refresh token