public abstract class Session<T extends Authenticator>
extends java.lang.Object
UberRidesApi will interact with the API.
Does authentication through either a server token or OAuth 2.0 credential, exactly one of which must exist.| Modifier and Type | Method and Description |
|---|---|
T |
getAuthenticator()
Gets the
Authenticator provided after authentication is completed. |
public Session(@Nonnull
T authenticator)
authenticator - used to sign outgoing requestspublic T getAuthenticator()
Authenticator provided after authentication is completed.
This is used to sign outgoing requests.