From 948f21ca3e40db5d5cd2de82d9e14d0e45daa16a Mon Sep 17 00:00:00 2001 From: Jonathan Claudius Date: Fri, 23 Aug 2019 14:54:38 -0400 Subject: [PATCH] no bug - Remove login+pass and token sections from auth --- docs/en/rst/api/core/v1/general.rst | 41 +---------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/docs/en/rst/api/core/v1/general.rst b/docs/en/rst/api/core/v1/general.rst index c4d0c2b4f..61bdeeb60 100644 --- a/docs/en/rst/api/core/v1/general.rst +++ b/docs/en/rst/api/core/v1/general.rst @@ -96,7 +96,7 @@ Some methods do not require you to log in. An example of this is :ref:`rest_single_bug`. However, authenticating yourself allows you to see non-public information, for example, a bug that is not publicly visible. -There are two ways to authenticate yourself: +To authenticate yourself, you will need to use API keys: **API Keys** @@ -107,45 +107,6 @@ Preferences pages. API keys may also be requested via :ref:`Authentication Delegation `. -**Login and Password** - -You can specify ``Bugzilla_login`` and ``Bugzilla_password`` or simply -``login`` and ``password`` respectively, as arguments to any call, and you will -be logged in as that user if your credentials are correct. - -====================== ======= ============================================== -name type description -====================== ======= ============================================== -**Bugzilla_login** string A user's login name. -**Bugzilla_password** string That user's password. -====================== ======= ============================================== - -There is also a deprecated method of authentication described below that will be -removed in the version after Bugzilla 5.0. - -**Bugzilla Tokens** - -You can use :ref:`rest_user_login` to log in as a Bugzilla user. This issues a -token that you must then use in future calls. Just use the value for ``token`` -and pass as either ``Bugzilla_token`` or simply ``token`` as arguments to an -API call. - -================== ====== =================================================== -name type description -================== ====== =================================================== -**Bugzilla_token** string You can specify this as argument to any call, - and you will be logged in as that user if the - token is correct. This is the token returned - when calling :ref:`rest_user_login` mentioned - above. -================== ====== =================================================== - -An error is thrown if you pass an invalid token; you will need to log in again -to get a new token. - -Also starting with Bugzilla 5.0, login cookies are no longer returned by -:ref:`rest_user_login` due to security concerns. - Useful Parameters ----------------- -- 2.47.3