Skip to content

Commit

Permalink
zendesk: document how to use token-based authentication
Browse files Browse the repository at this point in the history
Fixes #52.
  • Loading branch information
wulczer committed Jul 8, 2014
1 parent 7bc4ac1 commit 84a4fec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libsaas/services/zendesk/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
`user@company.com/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'
Expand Down

0 comments on commit 84a4fec

Please sign in to comment.