Documentation for #2502

This commit is contained in:
Maxime Besson 2021-04-07 16:40:15 +02:00
parent 1253effa29
commit 715b78c34f
14 changed files with 19 additions and 15 deletions

View File

@ -50,8 +50,8 @@ Then, go in ``Choice Parameters``:
- **URL parameter**: parameter name used to set choice value (default:
``lmAuth``)
- **Allowed modules**: click on ``New chain`` to add a choice.
- **AuthBasic handler parameter**: authentication module called by
AuthBasic handler (:doc:`AuthBasic handler<handlerauthbasic>`)
- **Choice used for password authentication**: authentication module used by
:doc:`AuthBasic handler<handlerauthbasic>` and :ref:`OAuth2.0 Password Grant <resource-owner-password-grant>`
- **FindUser plugin parameter**: authentication module called by
Find user plugin (:doc:`Find user plugin<finduser>`)

View File

@ -53,7 +53,7 @@ to access required locations in Portal Virtual Host.
requireToken => $env->{REMOTE_ADDR} !~ /^127\.0\.[1-3]\.1$/
With AutChoice, you have to declare which authentication module is
With :doc:`authchoice`, you have to declare which authentication module is
requested by handler to create global session.
Go to:
@ -61,7 +61,7 @@ to access required locations in Portal Virtual Host.
and set authentication module's name :
**AuthBasic handler parameter** => 2_LDAP (by example)
**Choice used for password authentication** => 2_LDAP (by example)

View File

@ -339,6 +339,10 @@ Resource Owner Password Credentials Grant
The Resource Owner Password Credentials Grant allows you to exchange a user's login and password for an access token. This must be considered a legacy form of authentication, since the Authorization Code web-based flow is prefered for all applications that support it. It can however be useful in some scenarios involving technical accounts that cannot implement a web-based authentication flow.
.. versionchanged:: 2.0.12
when using the :doc:`Choice <authchoice>` authentication module, the *Choice used for password authentication* setting can be used to select which authentication choice is used by the Resource Owner Password Credentials Grant. Naturally, the selected choice must be a password-based authentication method (LDAP, DBI, REST, etc.)
.. seealso::
`Specification for the Resource Owner Password Credentials Grant <https://tools.ietf.org/html/rfc6749#section-4.3>`__

View File

@ -76,7 +76,7 @@
"authAndUserdb":"الترخيص وقاعدة بيانات المستخدم",
"authChain":"سلسلة إثبات الهوية",
"authChoice":"اختيار إثبات الهوية",
"authChoiceAuthBasic":"AuthBasic handler parameter",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter",
"authChoiceModules":"الوحدات المسموح بها",
"authChoiceParam":"معايير URL",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"Authz and user DB",
"authChain":"Authentication chain",
"authChoice":"Authentication choice",
"authChoiceAuthBasic":"AuthBasic handler parameter",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter",
"authChoiceModules":"Allowed modules",
"authChoiceParam":"URL parameter",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"Authz and user DB",
"authChain":"Authentication chain",
"authChoice":"Authentication choice",
"authChoiceAuthBasic":"AuthBasic handler parameter",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter",
"authChoiceModules":"Allowed modules",
"authChoiceParam":"URL parameter",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"Authz and user DB",
"authChain":"Cadena de autentificación",
"authChoice":"Opción de autentificación",
"authChoiceAuthBasic":"AuthBasic handler parameter",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter",
"authChoiceModules":"Módulos permitidos",
"authChoiceParam":"Parámetro URL",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"Authent. et BD utilisateurs",
"authChain":"Chaîne d'authentification",
"authChoice":"Choix d'authentification",
"authChoiceAuthBasic":"Paramètre du handler AuthBasic",
"authChoiceAuthBasic":"Choix à utiliser pour l'authentification par mot de passe",
"authChoiceFindUser":"Paramètre de recherche de compte",
"authChoiceModules":"Modules autorisés",
"authChoiceParam":"Paramètre de l'URL",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"Authz e utente DB",
"authChain":"Catena di autenticazione",
"authChoice":"Scelta di autenticazione",
"authChoiceAuthBasic":"AuthBasic handler parameter",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter",
"authChoiceModules":"Moduli consentiti",
"authChoiceParam":"Parametri URL",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"Authz i baza danych użytkownika",
"authChain":"Łańcuch uwierzytelnienia",
"authChoice":"Wybór uwierzytelnienia",
"authChoiceAuthBasic":"Parametr handlera AuthBasic",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"Parametr wtyczki FindUser",
"authChoiceModules":"Dozwolone moduły",
"authChoiceParam":"Parametr adresu URL",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"Yetkilendirme ve kullanıcı veri tabanı",
"authChain":"Doğrulama zinciri",
"authChoice":"Kimlik doğrulama tercihi",
"authChoiceAuthBasic":"AuthBasic işleyici parametresi",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser eklenti parametresi",
"authChoiceModules":"İzin verilen modüller",
"authChoiceParam":"URL parametresi",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"Authz và user DB",
"authChain":"Chuỗi xác thực",
"authChoice":"Lựa chọn xác thực",
"authChoiceAuthBasic":"AuthBasic handler parameter",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter",
"authChoiceModules":"Các mô-đun được phép",
"authChoiceParam":"Tham số URL",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"授权和用户数据库",
"authChain":"认证chain",
"authChoice":"认证方式选择",
"authChoiceAuthBasic":"AuthBasic handler parameter",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter",
"authChoiceModules":"允许的模块",
"authChoiceParam":"URL 参数",

View File

@ -76,7 +76,7 @@
"authAndUserdb":"驗證與使用者資料庫",
"authChain":"驗證鏈",
"authChoice":"驗證選擇",
"authChoiceAuthBasic":"AuthBasic 處理程式參數",
"authChoiceAuthBasic":"Choice used for password authentication",
"authChoiceFindUser":"FindUser plugin parameter",
"authChoiceModules":"已允許的模組",
"authChoiceParam":"URL 參數",