Twopi-flask-utils

Latest version: v1.1.11

Safety actively analyzes 622806 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.11

- Allows for codes > 200 without registering as an error

1.1.5

- Ignore common flask exceptions that aren't really worthy of sentry 8

1.1.4

- Responses for invalid tokens / malformed tokens are now returned as a JSON payload, rather than plain text.

1.1.3

- Change `token_auth.ShortlivedToken.generate` name to
`token_auth.ShortlivedToken.from_refresh_token` and add deprecation warning for
usage of `token_auth.ShortlivedToken.generate`

1.1.2

- Removes previously unused token_auth module and replaces it with a
more generic implementation that can be used alongside refresh tokens
- Fixes package installation for Python 2 when using pip

1.1.1

- Introduces new helper get_and_expect_json and associated exception
ExpectedJSONException to provide convenience for retreiving JSON
from a flask request. If no JSON could be retrieved, then an error
is formatted and returned

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.