Commit Graph

166 Commits

Author SHA1 Message Date
Tim Perry
ce64889b04 Clarify isTokenValid logic 2018-03-29 11:11:25 +02:00
Tim Perry
d3a0bfc5f6 Fix auth utils tests to work with new SDK 2018-03-29 11:11:25 +02:00
Tim Perry
0e2fb8c96c Promisify auth utils tests 2018-03-29 11:11:25 +02:00
Tim Perry
001c8f9601 Inline the entire resin-cli-auth module
This is part of a general push to demodularize any code that isn't
realistically reusable outside resin-cli, to make the codebase easier to
manage and understand. Once this is done, we'll deprecate the original
module itself.

Change-Type: patch
2017-11-27 12:02:57 +02:00
Juan Cruz Viotti
904b9f07fb Highlight errors in red
- Move error translation logic to resin-io/resin-cli-errors.
- Force `process.exit()`.
2015-09-11 14:47:38 +03:00
Juan Cruz Viotti
f712064ab4 Move tests to tests/ and flatten errors/ module directory 2015-02-10 11:38:19 -04:00
Juan Cruz Viotti
043a34cc7c Decouple permissions from http mocks and fixtures 2015-01-13 08:51:02 -03:00
Juan Cruz Viotti
f000509995 Get rid of utils/mock 2015-01-08 09:43:50 -03:00
Juan Cruz Viotti
12f46be691 Partially get rid of nested sdk 2015-01-08 09:39:38 -03:00
Juan Cruz Viotti
8ac36ced4d Decouple resin sdk from it's surroundings 2015-01-06 15:02:03 -03:00
Juan Cruz Viotti
08e8cfbb09 Fix settings get bug in mocks 2014-12-05 11:49:00 -04:00
Juan Cruz Viotti
511e753256 Support user defined configuration file 2014-12-03 12:03:54 -04:00
Juan Cruz Viotti
9529e6c335 Move config to resin module 2014-11-26 13:42:05 -04:00
Juan Cruz Viotti
a6099b227b Require internet connection before attempting to use server module 2014-11-25 09:02:50 -04:00
Juan Cruz Viotti
58cc0be0c9 Cleanup tests 2014-11-14 15:48:37 -04:00
Juan Cruz Viotti
41d73eaf98 Implement precarious token persistence mechanism 2014-10-31 15:19:16 -04:00