synapse-product/synapse/rest/client/v2_alpha
Lukas Lihotzki 2c240213f4
Fix requestOpenIdToken response: integer expires_in (#10175)
`expires_in` must be an integer according to the OpenAPI spec:
https://github.com/matrix-org/matrix-doc/blob/master/data/api/client-server/definitions/openid_token.yaml#L32

True division (`/`) returns a float instead (`"expires_in": 3600.0`).
Floor division (`//`) returns an integer, so the response is spec compliant.

Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
2021-06-16 13:16:35 +01:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_data.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_validity.py Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
account.py Limit length of accepted email addresses (#9855) 2021-04-22 17:49:11 +01:00
auth.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
capabilities.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
devices.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
filter.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
groups.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
keys.py Limit the number of in-flight /keys/query requests from a single device. (#10144) 2021-06-09 07:05:32 -04:00
knock.py Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167) 2021-06-15 07:45:14 -04:00
notifications.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
openid.py Fix requestOpenIdToken response: integer expires_in (#10175) 2021-06-16 13:16:35 +01:00
password_policy.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
read_marker.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
receipts.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
register.py Limit length of accepted email addresses (#9855) 2021-04-22 17:49:11 +01:00
relations.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
report_event.py Make reason and score optional for report_event (#10077) 2021-05-27 18:42:23 +01:00
room_keys.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
room_upgrade_rest_servlet.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
sendtodevice.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
shared_rooms.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
sync.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
tags.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
thirdparty.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
tokenrefresh.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
user_directory.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00