Commit graph

18 commits

Author SHA1 Message Date
extremeheat
20da9446f0
Update microsoftAuth to set default flow option (#309)
* Update microsoftAuth to set default flow option

Explicitly specify to login through live.com

* Update package.json
2022-10-25 04:22:30 -04:00
LucienHH
149b4fe182
Update auth.js (#231) 2022-06-24 18:48:33 -04:00
LucienHH
cde600d51e
Implement Realm joining (#193)
* Pass client options to ping

* Implement RealmAPI to auth

* Add Realm join example

* Update package.json

* Update README.md

* Update index.d.ts

* Show one option, remove listener

* Fix wording

* Explain options

* Optional fields

* Fix typo

* Moved retry ad host/port extraction to prealms

* Add docs

* Fix lint

* Depend on prealms release

Co-authored-by: LucienHH <Lucien.holloway@aprox.co.uk>
2022-04-09 13:11:12 -04:00
extremeheat
dfff13867d
Refactor client connection sequence (#189)
* Refactor client connection sequence
Allow connection info to come in after Client construction, emit "connect_allowed" similar to nmp

* Fix breaking ping behavior change

* fix createClient connect callback

* correct behavior

* remove comments

* refactor impl

* fix incorrect use of `this`
2022-03-27 22:15:20 +02:00
extremeheat
1b422ac4ce
Update prismarine-auth usage (#153) 2021-11-12 22:14:15 +01:00
extremeheat
1f7e94e5db
Update some examples, cleanup (#136)
* Update some examples, cleanup

* lint
2021-09-18 19:50:43 -04:00
Jordan Jones
c5858d5add
Implement Prismarine Auth (#131)
* add prismarine-auth and mfp

* implement prismarine-auth

* putting this on the record, i am stupid

* Remove unneeded files

* Use export from prismarine-auth

* fix cache path

* default the authTitle to MNS

needs testings

* Remove unnecessary comment
2021-08-16 13:06:19 +02:00
extremeheat
b546cda899 Logging improvements 2021-06-23 00:10:58 -04:00
extremeheat
76febb29f1
Support xbox title + live.com auth (#86)
* preliminary support for xbox title + live.com auth

* cleanup

* export title list

* add to api docs

* Verify that minecraft token has titleId if did titleAuth

* Minor changes
2021-05-19 09:53:55 -04:00
extremeheat
faf7373dfd Fix microsoft auth refresh 2021-05-04 03:00:08 -04:00
extremeheat
8663247a2a Lessen logging, fix JWT param 2021-04-14 07:42:36 -04:00
extremeheat
458136d877
Vanilla server tests, client offline mode (#49)
* vanilla server launcher

* update package.json

* re-add babel to fix standard

* fix ci

* add buffer-equal

* simple fixes

* add offline client support

* fix closing bugs, proper wait for server start

* add test to mocha

* change test timeout to 2 min

* increase timeouts

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-03-17 23:04:14 +01:00
extremeheat
58e011e06d
Login refactoring (#45)
* Refactor auth + encryption

Fix a bug with client account token caching

* move some files
2021-03-13 19:50:16 +01:00
extremeheat
1c582acdb5
Standard (#44)
* standard

* remove old examples
2021-03-13 19:38:31 +01:00
extremeheat
df8612e355
Start work on multi-version support, test cleanup (#43)
* some cleanup

* start work on multi-version support

* undelete some old examples, can update them later

* move old examples
2021-03-12 20:20:25 +01:00
extremeheat
fe05a3d645 fix decryption 2021-02-18 01:41:00 -05:00
extremeheat
233f0d33a6 workingish client connection to server
Joining a vanilla server is still broken (related to encryption), but minet connects
2021-02-13 18:42:43 -05:00
extremeheat
49cff40097 cliet auth 2021-02-10 05:04:10 -05:00