pokemon-showdown-client/lib
Guangcong Luo 248f4a0887 Support Google login
This doesn't support setting accounts up for Google login: that still
has to be manually done via the database by setting the email field to
`username@gmail.com@`, where the second `@` denotes that it's using
Gmail login.

If the email field does end in `@`, `getassertion` will note this by
sending `;;@gmail`, to convey that the server is expecting a Google
login token rather than a password.

Upon receiving `;;@gmail`, the client will replace the password box will
with a Google login button, and then send the resulting Google login
token to the server in the `password` field. The server will validate
the "password" using the Google server libraries, and otherwise handle
the login as normal.

Note that Google login requires various features that a paranoid person
might disable; most notably 3rd-party cookies.

Fixes Zarel/Pokemon-Showdown#3394
2017-09-13 12:36:41 -04:00
..
css-sanitizer/Wikimedia/CSS Use Wikimedia's css sanitizer for custom css parsing (#919) 2017-06-13 23:26:15 -05:00
dispatcher.lib.php Fix style in session library 2017-03-25 14:15:30 -04:00
ntbb_sessions.sql Move session library inside repository 2016-10-20 13:16:06 -04:00
ntbb-database.lib.php Fix UTF-8 support in database 2016-11-04 05:39:27 -04:00
ntbb-friendlist.sql Friendlist: serverside client code (so that friends can be added etc.) 2013-11-12 23:13:57 +01:00
ntbb-ladder.lib.php Ladder: Support "both players lose" 2017-07-28 23:09:10 -04:00
ntbb-ladder.sql Update ntbb_ladder.sql 2016-03-18 11:43:04 -04:00
ntbb-session.lib.php Support Google login 2017-09-13 12:36:41 -04:00
ntbb-users.sql Move session library inside repository 2016-10-20 13:16:06 -04:00