Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
nurdtechie98
/
drive-cli
Public
Notifications
You must be signed in to change notification settings
Fork
86
Star
581
Code
Issues
32
Pull requests
4
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Fix Authorization & Refactor of utils
- #95
#95
Open
chrischansonichu
wants to merge 8 commits into
nurdtechie98:dev
nurdtechie98/drive-cli:dev
from
chrischansonichu:authorization
chrischansonichu/drive-cli:authorization
Copy head branch name to clipboard
Conversation
Commits
8
(8)
Checks
Files changed
Open
Fix Authorization & Refactor of utils
#95
chrischansonichu
wants to merge 8 commits into
nurdtechie98:dev
nurdtechie98/drive-cli:dev
from
chrischansonichu:authorization
chrischansonichu/drive-cli:authorization
Copy head branch name to clipboard
Commits
Commits on Apr 13, 2020
Refactor entire app to remove lots of boilerplate code and allow for calling authorization using downloaded oauth json files properly.
thewhaleking
committed
e3276e0
View commit details
Copy full SHA for e3276e0
Browse repository at this point
Change login indentation to show the success message when successful, regardless of new authorization or if using the saved token.
thewhaleking
committed
7d523c8
View commit details
Copy full SHA for 7d523c8
Browse repository at this point
Exapnded on the README.md with the new authorization instructions.
thewhaleking
committed
ebd078c
View commit details
Copy full SHA for ebd078c
Browse repository at this point
Commits on Apr 15, 2020
Expanded upon the 'login --help' to advise the user to check out the README for authorization instructions.
thewhaleking
committed
f9d5367
View commit details
Copy full SHA for f9d5367
Browse repository at this point
Added better error-handling to the auth.py functions, including file-exists checking, and giving the user clearer messages regarding failures.
thewhaleking
committed
ea979bc
View commit details
Copy full SHA for ea979bc
Browse repository at this point
Added a mock Discovery.Resource class that serves the purpose of giving an error advising the user to first log in, any time a method is called.
thewhaleking
committed
6a55c9e
View commit details
Copy full SHA for 6a55c9e
Browse repository at this point
Remove the create of .dclipath and .history as directories, as they are supposed to be JSON files. Add check for '.history' as a file rather than a directory.
thewhaleking
committed
4f65907
View commit details
Copy full SHA for 4f65907
Browse repository at this point
Set Drive.service to use the mock Discovery.Resource object UnauhorizedService if there is no token.json file present in the config directory. This object returns an error advising the user to log …
Show description for f99ceff
thewhaleking
committed
f99ceff
View commit details
Copy full SHA for f99ceff
Browse repository at this point
You can’t perform that action at this time.