aboutsummaryrefslogtreecommitdiffstats
path: root/auth
AgeCommit message (Collapse)Author
2017-02-15auth/file_source: don't try to read non-existent filesOskari Saarenmaa
Commit b33b3e96e introduced a bug where we try to read a token file even if it doesn't exist, causing unauthenticated run (e.g. `gdrive about`) to fail with the error Failed getting oauth client: Failed to read token: unexpected end of JSON input Closes #257.
2017-01-26New feature, support authentication via service account.Fabio Di Fabio
2016-02-21go fmtPetter Rasmussen
2016-02-21RenamePetter Rasmussen
2016-02-21Add support for user-provided access tokenPetter Rasmussen
2016-02-21Add support for user-provided refresh tokenPetter Rasmussen
2016-02-16Error handlingPetter Rasmussen
2016-02-06Write to temp file firstPetter Rasmussen
2016-01-18Simplify drive wrapper, s/client/auth/Petter Rasmussen
2016-01-17Delete stale filesPetter Rasmussen
2014-05-14Actually use the option to disable the interactive prompt.Sumit Arora
2014-05-14Add an option to not prompt the user for oauth authenticationSumit Arora
interactively. This is a no-op for the cli, where the option defaults to true. Use Case: In automation apps/scripts where gdrive/gdrive is used as a third party module (as opposed to a cli app). It is desirable to not be prompted interactively. Instead return the error and let the calling code handle it.
2014-03-15Go fmt the code and use proper importsMichael Crosby
This allows people to be able to go get your project.
2013-01-01version 1Petter Rasmussen