我使用DocuSign请求一个访问令牌,签名如下所示
            //
            // 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的参数在哪里?
发布于 2021-01-07 20:13:43
impersonatedUserId = API用户名在Apps和Keys页面中。
clientId =在Apps和Keys页面中的特定键的集成键。
https://stackoverflow.com/questions/65617268
复制相似问题