diff options
author | Max Wittig <max.wittig95@gmail.com> | 2020-01-26 21:19:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-26 21:19:35 +0100 |
commit | 7843ace913589cf629f448a2541f290a4c7214cd (patch) | |
tree | b6b38c84f00be8ceb4ea83a0441af09710f1da32 /docs/api-usage.rst | |
parent | df485a92b713a0f2f983c72d9d41ea3a771abf88 (diff) | |
parent | c9329bbf028c5e5ce175e99859c9e842ab8234bc (diff) | |
download | gitlab-7843ace913589cf629f448a2541f290a4c7214cd.tar.gz |
Merge pull request #1000 from matusf/update-auth-docs
Update auth docs
Diffstat (limited to 'docs/api-usage.rst')
-rw-r--r-- | docs/api-usage.rst | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst index 19fdea0..dc88684 100644 --- a/docs/api-usage.rst +++ b/docs/api-usage.rst @@ -23,9 +23,6 @@ To connect to a GitLab server, create a ``gitlab.Gitlab`` object: import os gl = gitlab.Gitlab('http://10.0.0.1', job_token=os.environ['CI_JOB_TOKEN']) - # username/password authentication (for GitLab << 10.2) - gl = gitlab.Gitlab('http://10.0.0.1', email='jdoe', password='s3cr3t') - # anonymous gitlab instance, read-only for public resources gl = gitlab.Gitlab('http://10.0.0.1') |