diff options
author | Matus Ferech <matus.ferech@telekom.com> | 2020-01-26 20:37:08 +0100 |
---|---|---|
committer | Matus Ferech <matus.ferech@telekom.com> | 2020-01-26 20:37:08 +0100 |
commit | c9329bbf028c5e5ce175e99859c9e842ab8234bc (patch) | |
tree | ef350908b1da4c87a2df337fe8e4c45f0753fada /gitlab | |
parent | 7fd3226fc6b629d503bc1b0a657bc21f69bc4696 (diff) | |
download | gitlab-c9329bbf028c5e5ce175e99859c9e842ab8234bc.tar.gz |
docs(auth): remove email/password auth
Diffstat (limited to 'gitlab')
-rw-r--r-- | gitlab/__init__.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 9cb027b..e7d1df6 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -60,8 +60,6 @@ class Gitlab(object): private_token (str): The user private token oauth_token (str): An oauth token job_token (str): A CI job token - email (str): The user email or login. - password (str): The user password (associated with email). ssl_verify (bool|str): Whether SSL certificates should be validated. If the value is a string, it is the path to a CA file used for certificate validation. @@ -203,9 +201,7 @@ class Gitlab(object): ) def auth(self): - """Performs an authentication. - - Uses either the private token, or the email/password pair. + """Performs an authentication using private token. The `user` attribute will hold a `gitlab.objects.CurrentUser` object on success. |