Skip to content

Commit edf3f79

Browse files
committed
Add requirements.txt
1 parent 29ab17a commit edf3f79

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
adal=0.4.7
2+
cryptography==2.1.4
3+
pyopenssl==17.5.0

webjobs/user_data_sync/start.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import adal
3-
from OpenSSL import crypto # pip install pyopenssl
4-
from cryptography.hazmat.primitives import serialization # pip install cryptography
3+
from OpenSSL import crypto
4+
from cryptography.hazmat.primitives import serialization
55

66

77
client_id = os.environ['ClientId']
@@ -31,6 +31,8 @@
3131
tenant_id = '64446b5c-6d85-4d16-9ff2-94eddc0c2439'
3232
authority = aad_instance + tenant_id
3333
auth_context = adal.AuthenticationContext(authority)
34+
35+
import pdb; pdb.set_trace()
3436
token = auth_context.acquire_token_with_client_certificate(
3537
ms_graph_resource,
3638
client_id,

0 commit comments

Comments
 (0)