prasmussen / gdrive

Google Drive CLI Client
MIT License
8.99k stars 1.19k forks source link

The problem with the token and ssh.net #101

Open assh0le1 opened 8 years ago

assh0le1 commented 8 years ago

Hey. Faced with the problem of the transmission of the token using ssh.net library in C#. Is it possible to transfer the token as an argument, for example, when requesting a:

drive -c /account2/ --token

I am sure it would solve the problem of many people (my accurately)

assh0le1 commented 8 years ago

I understand that one can be used without --config, but sometimes I need to change accounts for the users and that's it then I run into this proble

upd missclick

prasmussen commented 8 years ago

I'm not sure if i understand the problem, but in gdrive 2 you can give either the access-token or refresh-token as arguments to gdrive. Note that the token will show up in e.g. ps and is not recommended to use on multiuser systems.