Skip to content

Commit 7646f6b

Browse files
Example of the email address and API token initialization. (#893)
1 parent 91d2d06 commit 7646f6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/examples.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ Pass a tuple of (username, password) to the ``basic_auth`` constructor argument:
6161

6262
auth_jira = JIRA(basic_auth=('username', 'password'))
6363

64+
Or pass a tuple of (email, api_token) to the ``basic_auth`` constructor argument (JIRA cloud)::
65+
66+
auth_jira = JIRA(basic_auth=('email', 'API token'))
67+
68+
6469
OAuth
6570
^^^^^
6671

0 commit comments

Comments
 (0)