- Aug 27, 2020
-
-
Antoine Lambert authored
Token renewal workflow is now delegated to swh-web for commodity of use when a user wants to make authenticated API calls. So remove no more needed code and update documentation regarding authentication.
-
- Aug 25, 2020
-
-
vlorentz authored
pytest wastes a lot of time in .hypothesis and .git; this commit excludes them.
-
- Aug 21, 2020
-
-
Antoine Lambert authored
-
- Aug 06, 2020
-
-
Antoine R. Dumont authored
Related to T2501
-
- Apr 29, 2020
-
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Antoine Eiche authored
A test is added to ensure the pagination and the data typing are working as expected.
-
- Apr 20, 2020
-
-
Antoine R. Dumont authored
Related to T2367
-
- Apr 08, 2020
-
-
David Douard authored
-
David Douard authored
- blackify all the python files, - enable black in pre-commit, - add a black tox environment.
-
- Mar 24, 2020
-
-
Antoine Lambert authored
By providing a refresh token, obtained with the "swh auth login" command to the new authenticate method of the client, all emitted requests will be authenticated using a bearer token sent in headers. Related to T1927
-
Antoine Lambert authored
Usage: swh auth [OPTIONS] COMMAND [ARGS]... Authenticate Software Heritage users with OpenID Connect. This CLI tool eases the retrieval of bearer tokens to authenticate a user querying the Software Heritage Web API. Options: --oidc-server-url TEXT URL of OpenID Connect server (default to "https://auth.softwareheritage.org/auth/") --realm-name TEXT Name of the OpenID Connect authentication realm (default to "SoftwareHeritage") --client-id TEXT OpenID Connect client identifier in the realm (default to "swh-web") -h, --help Show this message and exit. Commands: login Login and create new offline OpenID Connect session. logout Logout from an offline OpenID Connect session. refresh Refresh an offline OpenID Connect session. Closes T2268
-
- Mar 20, 2020
-
-
Stefano Zacchiroli authored
Sphinx directives are not accepted as descriptions on PyPI, so we should remove them from README. To that end, refactor README as a doc fragmented which is linked from root dir (pointing to docs/README.rst) and included into docs/index.rst.
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
intead of README.md, now gone
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Mar 19, 2020
-
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Mar 18, 2020
-
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
Closes T2279
-
Stefano Zacchiroli authored
for both tests and production
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-