简体   繁体   English

如何获得DocuSign Bearer Token

[英]How to get DocuSign Bearer Token

I want to use these APIs from backend: https://apiexplorer.docusign.com/#/esign/restapi?categories=Authentication&tags=Authentication&operations=login&mode=basic我想从后端使用这些 API: https://apiexplorer.docusign.com/#/esign/restapi?categories=Authentication&tags=Authentication&operations=login&mode=basic

The problem is from where I can get the bearer token in Backend?问题是从哪里可以在后端获得不记名令牌?

The DocuSign /RESTAPI/v{2, 2.1}/ login, updatePassword, revokeOAuthToken, getOAuthToken API methods are obsolete and should not be used for any application. DocuSign /RESTAPI/v{2, 2.1}/ login、updatePassword、revokeOAuthToken、getOAuthToken API 方法已过时,不应用于任何应用程序。

Instead, use the DocuSign OAuth2 flows to obtain Bearer tokens:相反,使用 DocuSign OAuth2 流来获取不记名令牌:

Recommendation: use libraries for the OAuth flows.建议:为 OAuth 流程使用库。 See the eg-01-*-jwt example repos for the JWT Grant flow and the eg-03-*-auth-code-grant example repos for Authorization Code Grant.有关 JWT 授予流程的信息,请参阅eg-01-*-jwt示例存储库和有关授权代码授予的eg-03-*-auth-code-grant示例存储库。 The example repos are on https://github.com/docusign示例存储库位于https://github.com/docusign

The examples are also discussed on developers.docusign.com在 developer.docusign.com 上也讨论了这些示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM