在 Docusign 的 RequestJWTUserToken 方法中从哪里获取 ClientId 和 impersonatedUserId(UUID) 的参数?
Where to get parameters for ClientId and impersonatedUserId(UUID) in the RequestJWTUserToken method in Docusign?
我正在使用 RequestJWTUserToken 请求 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);
在 Docusign 的 RequestJWTUserToken 方法中,从哪里获取 ClientId 和 impersonatedUserId(UUID) 的参数?
PrintScreen for DocuSign -> Settings -> Apps and Keys
impersonatedUserId = API 应用程序和密钥页面中的用户名。
clientId = 应用程序和密钥页面中特定密钥的集成密钥。
我正在使用 RequestJWTUserToken 请求 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);
在 Docusign 的 RequestJWTUserToken 方法中,从哪里获取 ClientId 和 impersonatedUserId(UUID) 的参数?
PrintScreen for DocuSign -> Settings -> Apps and Keys
impersonatedUserId = API 应用程序和密钥页面中的用户名。
clientId = 应用程序和密钥页面中特定密钥的集成密钥。