Skip to content

Commit

Permalink
Example of the email address and API token initialization. (#893)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavulrych authored May 12, 2021
1 parent 91d2d06 commit 7646f6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ Pass a tuple of (username, password) to the ``basic_auth`` constructor argument:

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

Or pass a tuple of (email, api_token) to the ``basic_auth`` constructor argument (JIRA cloud)::

auth_jira = JIRA(basic_auth=('email', 'API token'))


OAuth
^^^^^

Expand Down

0 comments on commit 7646f6b

Please sign in to comment.