public class TutorialService extends Object
Constructor and Description |
---|
TutorialService() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getCalendarNames(String accessToken,
String accessTokenSecret)
Obtains a list of names of a user's public and private calendars from the Google
Calendar API.
|
void |
setCredentials(Properties credentials)
Sets properties that contains the application's consumer key and consumer secret.
|
public void setCredentials(Properties credentials)
credentials
- consumer key and consumer secret.public List<String> getCalendarNames(String accessToken, String accessTokenSecret) throws Exception
accessToken
- OAuth access token.accessTokenSecret
- OAuth access token secret.Exception
Apache Camel