Class GoogleAPICredentialRequestor
java.lang.Object
org.opencastproject.publication.youtube.auth.GoogleAPICredentialRequestor
GoogleAPICredentialRequestor obtains credentials from Google
and persists them in a data store on the local file system for later use
when invoking the Google Data API V3 to upload a file to YouTube.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidThe authorization process is dependent on authorization context parameters which is data that is required to execute the request and persist the result: client secrets - a file containing the client id and password credentialDatastore - name of the datastore which stores tokens dataStoreDirectory - location of the datastore in the file system
-
Method Details
-
main
The authorization process is dependent on authorization context parameters which is data that is required to execute the request and persist the result:- client secrets - a file containing the client id and password
- credentialDatastore - name of the datastore which stores tokens
- dataStoreDirectory - location of the datastore in the file system
- Parameters:
args- override parameters- Throws:
IOExceptionorg.json.simple.parser.ParseException
-