【发布时间】:2015-11-14 00:22:47
【问题描述】:
我想使用 box-python-sdk 向 Box Developer Edition 进行身份验证,这样:
auth = JWTAuth(
client_id='YOUR_CLIENT_ID',
client_secret='YOUR_CLIENT_SECRET',
enterprise_id='YOUR_ENTERPRISE_ID',
rsa_private_key_file_sys_path='CERT.PEM',
store_tokens=your_store_tokens_callback_method,
)
(1) 我使用App Auth instructions 创建了一个私钥和公钥,并解密了私钥。如何获得 CERT.PEM?
(2) your_store_tokens_callback_method 应该做什么?
【问题讨论】:
标签: certificate access-token box