From 70a8aec125ac414512b54c2e461df25e8e66ed90 Mon Sep 17 00:00:00 2001 From: Antoine Lambert <antoine.lambert@inria.fr> Date: Fri, 9 Apr 2021 15:22:03 +0200 Subject: [PATCH] docs: Update README with module description and features --- docs/README.rst | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/docs/README.rst b/docs/README.rst index 2ac99e1..3a2e9de 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -3,5 +3,33 @@ Software Heritage - Authentication ================================== -Authentication library for SWH (keycloak common utilities) +``swh-auth`` is a set of utility libraries related to user authentication +in applications and services based on the use of `Keycloak`_ and `OpenID Connect`_. +`Keycloak`_ is an open source software enabling single sign-on (SSO) with identity +and access management. + +`OpenID Connect`_ (OIDC) is an authentication layer on top of `OAuth 2.0`_, widely +used in modern web applications and services. + +``swh-auth`` notably offers the following features: + +- the ``swh.auth.keycloak.KeycloakOpenIDConnect`` class to ease the + interaction with a Keycloak server + +- a ``pytest`` plugin with the ``keycloak_oidc`` fixture to mock Keycloak + responses in unit tests + +- generic backends, views and middlewares to easily plug OpenID Connect authentication + in any `Django`_ or `Django REST framework`_ application + + +.. _Keycloak: https://www.keycloak.org/ + +.. _OpenID Connect: https://openid.net/connect/ + +.. _OAuth 2.0: https://oauth.net/2/ + +.. _Django: https://www.djangoproject.com/ + +.. _Django REST framework: https://www.django-rest-framework.org/ \ No newline at end of file -- GitLab