Skip to content

Commit

Permalink
Add port parameter to Client (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkelly authored Aug 13, 2021
1 parent 7c5b115 commit c624284
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions duo_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,16 @@ def __init__(self, ikey, skey, host,
timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
paging_limit=100,
digestmod=hashlib.sha1, # noqa: DUO130, HMAC-SHA1 still secure
sig_version=2
sig_version=2,
port=None
):
"""
ca_certs - Path to CA pem file.
"""
self.ikey = ikey
self.skey = skey
self.host = host
self.port = None
self.port = port
self.sig_timezone = sig_timezone
if ca_certs is None:
ca_certs = DEFAULT_CA_CERTS
Expand Down

0 comments on commit c624284

Please sign in to comment.