首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >文档中的ClientId和impersonatedUserId(UUID)在RequestJWTUserToken方法中的参数在哪里?

文档中的ClientId和impersonatedUserId(UUID)在RequestJWTUserToken方法中的参数在哪里?
EN

Stack Overflow用户
提问于 2021-01-07 17:33:43
回答 1查看 340关注 0票数 0

我使用DocuSign请求一个访问令牌,签名如下所示

代码语言:javascript
运行
复制
            //
            // Summary:
            //     Request JWT User Token Configures the current instance of ApiClient with a fresh
            //     OAuth JWT access token from DocuSign
            //
            // Parameters:
            //   clientId:
            //     DocuSign OAuth Client Id(AKA Integrator Key)
            //
            //   userId:
            //     DocuSign user Id to be impersonated(This is a UUID)
            //
            //   oauthBasePath:
            //     DocuSign OAuth base path DocuSign.eSign.Client.Auth.OAuth.Demo_OAuth_BasePath
            //     DocuSign.eSign.Client.Auth.OAuth.Production_OAuth_BasePath DocuSign.eSign.Client.Auth.OAuth.Stage_OAuth_BasePath
            //     DocuSign.eSign.Client.ApiClient.GetOAuthBasePath DocuSign.eSign.Client.ApiClient.SetOAuthBasePath(System.String)
            //
            //   privateKeyStream:
            //     The Stream of the RSA private key
            //
            //   expiresInHours:
            //     Number of hours remaining before the JWT assertion is considered as invalid
            //
            //   scopes:
            //     Optional. The list of requested scopes may include (but not limited to) DocuSign.eSign.Client.Auth.OAuth.Scope_SIGNATURE
            //     DocuSign.eSign.Client.Auth.OAuth.Scope_IMPERSONATION DocuSign.eSign.Client.Auth.OAuth.Scope_EXTENDED
            //
            // Returns:
            //     The JWT user token
            public OAuth.OAuthToken RequestJWTUserToken(string clientId, string userId, string oauthBasePath, Stream privateKeyStream, int expiresInHours, List<string> scopes = null);

文档中的impersonatedUserId(UUID)方法中、ClientId、和RequestJWTUserToken的参数在哪里?

PrintScreen for DocuSign -> Settings -> Apps and Keys

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-01-07 20:13:43

impersonatedUserId = API用户名在Apps和Keys页面中。

clientId =在Apps和Keys页面中的特定键的集成键。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65617268

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档