diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-10-27 05:38:03 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-10-27 05:44:08 -0400 |
commit | 9acabc3a7497e3eb3536992212d34f77a649ae16 (patch) | |
tree | e1433fe36c6768704ea63443910731c4ad7fbcc1 /src/config.rs | |
parent | eb5e4ea7bcc3008a8d06da6884ee9713f8df0034 (diff) | |
download | rbw-9acabc3a7497e3eb3536992212d34f77a649ae16.tar.gz rbw-9acabc3a7497e3eb3536992212d34f77a649ae16.zip |
start working on apikey authentication
not entirely working yet, because api keys aren't allowed to use the
offline_access scope which provides access to the oauth refresh token.
we will probably need to move to using stable device identifiers (should
be able to generate one when the config is first created) and move this
logic to a separate "rbw register" command which just does an apikey
login but doesn't try to store any data, and then use the normal login
flow after that
Diffstat (limited to 'src/config.rs')
0 files changed, 0 insertions, 0 deletions