-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zendesk: document how to use token-based authentication
Fixes #52.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,12 @@ def __init__(self, subdomain, username, password): | |
`mycompany.zendesk.com`. | ||
:vartype subdomain: str | ||
:var username: The email of the authenticated agent. | ||
:var username: The email of the authenticated agent. Use | ||
`[email protected]/token` for token-based authentication. | ||
:vartype username: str | ||
:var password: The password of the authenticated agent. | ||
:var password: The password of the authenticated agent, or an API token | ||
if using token-based authentication. | ||
:vartype password: str | ||
""" | ||
tmpl = '{0}.zendesk.com/api/v2' | ||
|