summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorMax Wittig <max.wittig95@gmail.com>2020-01-26 21:19:35 +0100
committerGitHub <noreply@github.com>2020-01-26 21:19:35 +0100
commit7843ace913589cf629f448a2541f290a4c7214cd (patch)
treeb6b38c84f00be8ceb4ea83a0441af09710f1da32 /gitlab
parentdf485a92b713a0f2f983c72d9d41ea3a771abf88 (diff)
parentc9329bbf028c5e5ce175e99859c9e842ab8234bc (diff)
downloadgitlab-7843ace913589cf629f448a2541f290a4c7214cd.tar.gz
Merge pull request #1000 from matusf/update-auth-docs
Update auth docs
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/__init__.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py
index 85fc5e0..c9716c2 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.
@@ -211,9 +209,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.