Pagan Gazzard
9aacb7ec56
Remove some bluebird usage
...
Change-type: patch
2020-07-31 10:33:51 +00:00
Pagan Gazzard
303c3af061
Switch from Bluebird.join to native version
...
Change-type: patch
2020-06-30 23:59:18 +01:00
Pagan Gazzard
984d1a3fd6
Switch from new Bluebird to native version
...
Change-type: patch
2020-06-30 23:59:17 +01:00
Scott Lowe
1308b64c67
Recategorize some errors as expected.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-06-26 13:57:39 +02:00
Pagan Gazzard
03eed32f12
Simplify some exports
...
Change-type: patch
2020-06-24 15:23:53 +00:00
Pagan Gazzard
6dce5c1212
Use import type
where possible to explicitly import only type info
...
Change-type: patch
2020-06-24 13:46:27 +00:00
Pagan Gazzard
420a282bea
Standardize all references to Bluebird
...
Change-type: patch
2020-06-24 12:38:09 +00:00
Paulo Castro
c619bd4b99
Update 'balena-lint' and apply new prettier rules
...
Change-type: patch
2020-06-15 23:53:07 +01:00
Paulo Castro
3bb5e495a6
Fix 'balena login' web authorization hanging with Google Chrome
...
Resolves : #1404
Change-type: patch
2020-05-16 23:32:07 +01:00
Paulo Castro
803a9070fd
Update web page wording for 'balena login' web authorization
...
Resolves : #1710
Change-type: patch
2020-05-16 00:01:09 +01:00
Pagan Gazzard
eac6bb5e5c
Simplify lazy-loading of balena-sdk by utilizing a shared function
...
This also avoids instantiating multiple balena-sdk
Change-type: patch
2020-02-27 17:17:36 +00:00
Pagan Gazzard
2b04763ac0
Convert lib/auth/index to typescript
...
Change-type: patch
2020-02-12 13:20:36 +00:00
Pagan Gazzard
93ba5832d8
Convert lib/auth/server to typescript
...
Change-type: patch
2020-02-12 12:10:12 +00:00
Pagan Gazzard
4de41ce3e0
Convert lib/auth/utils to typescript
...
Change-type: patch
2020-02-10 13:42:50 +00:00
Pagan Gazzard
3f84045127
Switch from opn to its new name of open
...
Change-type: patch
2020-02-06 19:55:22 +00:00
Tim Perry
4907fccf48
Rename everything from 'resin' to 'balena'
...
Change-type: major
2018-10-29 22:29:02 +01:00
Tim Perry
ce64889b04
Clarify isTokenValid logic
2018-03-29 11:11:25 +02:00
Tim Perry
12a1916007
Allow (experimental!) login with API keys
...
Change-Type: minor
2018-03-29 11:11:25 +02:00
Alexis Svinartchouk
163684e3a9
Update dashboard login to use the multicontainer SDK
...
Change-Type: patch
2018-03-07 14:46:35 +00:00
Tim Perry
d8aabfd448
Ensure login does not wait for the browser process to close
...
Unclear why, but for some reason this only actually blocked on the
browser on OSX.
Connects-To: #791
Change-Type: patch
2018-02-16 17:28:19 +01:00
Tim Perry
dba8db19cb
Move from open to opn
...
Change-Type: patch
2017-12-18 14:55:07 +01: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
ff07764b39
Move auth to resin module
2014-11-26 13:02:22 -04:00
Juan Cruz Viotti
64cb1520f6
Move data to resin module
2014-11-26 12:56:52 -04:00
Juan Cruz Viotti
1736d8a759
Move token to resin module
2014-11-26 12:42:10 -04:00
Juan Cruz Viotti
698ddd168c
Move server to resin module
2014-11-26 12:07:10 -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
53c25412c3
Make auth.parseCredentials async
2014-11-18 12:11:20 -04:00
Juan Cruz Viotti
2fd2b702ae
Rename config.baseUrl to config.remoteUrl
2014-11-18 08:53:07 -04:00
Juan Cruz Viotti
c753e1b41b
Move auth outside of cli-modules
2014-11-18 08:34:40 -04:00