@@ -18,19 +18,6 @@ public class CreateAccount
18
18
private const string DefaultAccountName = "CreatedThroughAPI" ;
19
19
private const string DefaultCountryCode = "US" ;
20
20
21
- /// <summary>
22
- /// Helper method to configure DocuSign client with authorization headers.
23
- /// </summary>
24
- /// <param name="basePath">BasePath for API calls (URI)</param>
25
- /// <param name="accessToken">Access Token for API call (OAuth)</param>
26
- /// <returns>Configured DocuSignClient</returns>
27
- private static DocuSignClient GetConfiguredClient ( string basePath , string accessToken )
28
- {
29
- var docuSignClient = new DocuSignClient ( basePath ) ;
30
- docuSignClient . Configuration . DefaultHeader [ AuthorizationHeader ] = BearerPrefix + accessToken ;
31
- return docuSignClient ;
32
- }
33
-
34
21
/// <summary>
35
22
/// Get all plan items and return the first. Required scopes: organization_sub_account_read
36
23
/// </summary>
@@ -79,6 +66,19 @@ public static SubscriptionProvisionModelAssetGroupWorkResult CreateAccountBySubs
79
66
return assetGroupApi . CreateAssetGroupAccount ( orgId , subAccountRequest ) ;
80
67
}
81
68
69
+ /// <summary>
70
+ /// Helper method to configure DocuSign client with authorization headers.
71
+ /// </summary>
72
+ /// <param name="basePath">BasePath for API calls (URI)</param>
73
+ /// <param name="accessToken">Access Token for API call (OAuth)</param>
74
+ /// <returns>Configured DocuSignClient</returns>
75
+ private static DocuSignClient GetConfiguredClient ( string basePath , string accessToken )
76
+ {
77
+ var docuSignClient = new DocuSignClient ( basePath ) ;
78
+ docuSignClient . Configuration . DefaultHeader [ AuthorizationHeader ] = BearerPrefix + accessToken ;
79
+ return docuSignClient ;
80
+ }
81
+
82
82
/// <summary>
83
83
/// Helper method to build SubAccountCreateRequest object.
84
84
/// </summary>
0 commit comments