Commit graph

28 commits

Author SHA1 Message Date
Tulir Asokan
d99da61869 Refactor all protobuf HTTP request sending into shared functions 2023-07-19 13:59:11 +03:00
Tulir Asokan
6caf7e89fb Move start login methods to pair.go 2023-07-19 01:19:04 +03:00
Tulir Asokan
1ef5b56259 Merge pairing-related code into one file 2023-07-19 01:08:13 +03:00
Tulir Asokan
9680040ea1 Reorganize protobuf schemas 2023-07-18 02:57:20 +03:00
Tulir Asokan
4d6233d94b Rename binary package to gmproto 2023-07-17 16:51:31 +03:00
Tulir Asokan
b5bc6bfd61 Clean up logs and move some functions 2023-07-17 16:43:34 +03:00
Tulir Asokan
6225b83d2f Refactor login flow 2023-07-16 16:13:11 +03:00
Tulir Asokan
7fe4f0b047 Unnest device pair info in AuthData 2023-07-16 14:40:28 +03:00
Tulir Asokan
3fefda3a96 Refactor more things 2023-07-16 14:36:13 +03:00
Tulir Asokan
e6cec49353 Move JWK base64 decoding to JSON parsing step 2023-07-16 13:35:28 +03:00
Tulir Asokan
360fe208a8 Remove more unused utility functions 2023-07-16 13:23:44 +03:00
Tulir Asokan
8302bc95ee Fix URL constant names 2023-07-16 02:21:53 +03:00
Tulir Asokan
5d7edac1e8 Move some things out of payload package 2023-07-16 02:16:10 +03:00
Tulir Asokan
abb2c8a21f Send unpair request when logging out 2023-07-16 02:11:25 +03:00
Tulir Asokan
f22d4f6ac8 Remove commented logs 2023-07-16 01:04:29 +03:00
Tulir Asokan
45d5a556ba Remove useless utility functions 2023-07-15 20:47:56 +03:00
Tulir Asokan
50ea658fc9 Remove unnecessary JWK functions 2023-07-15 16:45:50 +03:00
Tulir Asokan
1615e146b6 Update library
Co-authored-by: zero <108243503+0xzer@users.noreply.github.com>
2023-07-09 14:49:55 +03:00
Tulir Asokan
27b48bc6e8 Change more things 2023-07-02 17:19:00 +03:00
Tulir Asokan
b1e2634f33 Fix long polling retries, unpair handling and other things 2023-07-01 12:51:13 +03:00
Tulir Asokan
c09a0063a7 Fix event names 2023-06-30 16:09:29 +03:00
Tulir Asokan
1866cf86ec Unhardcode receive messages request payload format 2023-06-30 15:50:12 +03:00
Tulir Asokan
ceedfb1192 Add PairSuccessful event 2023-06-30 14:48:58 +03:00
Tulir Asokan
2f5c5e2c6d Stop using stdlib log 2023-06-30 14:48:50 +03:00
Tulir Asokan
bbca40d74b Update package name 2023-06-30 14:05:33 +03:00
Tulir Asokan
d1897a2b80 Remove unnecessary base64 util 2023-06-30 13:53:17 +03:00
Tulir Asokan
13f47319b2 Remove unnecessary QR image generation 2023-06-30 13:44:48 +03:00
zero
02ef5ab82c Add initial Google Messages library 2023-06-30 12:54:08 +03:00