Skip to content

Commit

Permalink
Add kwargs to JWTAuth constructor (#233)
Browse files Browse the repository at this point in the history
Fixes #231.
  • Loading branch information
jmoldow authored Sep 13, 2017
1 parent f77cb41 commit 967ec6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boxsdk/auth/jwt_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(
access_token=None,
network_layer=None,
jwt_algorithm='RS256',
**kwargs
):
"""
:param client_id:
Expand Down Expand Up @@ -94,6 +95,7 @@ def __init__(
access_token=access_token,
refresh_token=None,
network_layer=network_layer,
**kwargs
)
with open(rsa_private_key_file_sys_path, 'rb') as key_file:
self._rsa_private_key = serialization.load_pem_private_key(
Expand Down

0 comments on commit 967ec6a

Please sign in to comment.