Skip to content

Commit 892de76

Browse files
authored
Merge pull request #158 from docusign/DEVDOCS-13316
Attempting to fix DEVDOCS-13316
2 parents c119063 + 55beb21 commit 892de76

File tree

8 files changed

+20
-6
lines changed

8 files changed

+20
-6
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ dotnet_diagnostic.SA1651.severity = error
346346
dotnet_diagnostic.SA1648.severity = error
347347

348348
# SA1649: File name should match first type name
349-
dotnet_diagnostic.SA1649.severity = error
349+
dotnet_diagnostic.SA1649.severity = suggestion
350350

351351
# SA1640: File header should have valid company text
352352
dotnet_diagnostic.SA1640.severity = error

ExamplesAPIType.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ public enum ExamplesApiType
3737
/// </summary>
3838
[Description("aeg")]
3939
Admin = 4,
40+
41+
/// <summary>
42+
/// Connect API
43+
/// </summary>
44+
[Description("con")]
45+
Connect = 5,
4046
}
4147

4248
public static class ExamplesApiTypeExtensions

JWT-Console/App.config.Example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<add key="ClientId" value="{INTEGRATION_KEY_JWT}"/>
55
<add key="AuthServer" value="account-d.docusign.com"/>
66
<add key="ImpersonatedUserID" value="{IMPERSONATED_USER_ID}"/>
7-
<add key="PrivateKeyFile" value="..\..\..\private.key"/>
7+
<add key="PrivateKeyFile" value="../../../private.key"/>
88
</appSettings>
99
</configuration>

JWT-Console/JWT-Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
</ItemGroup>
1919

2020
<ItemGroup>
21-
<Compile Include="..\ExamplesApiTypeExtensions.cs" Link="ExamplesApiTypeExtensions.cs" />
2221
<Compile Include="..\DSHelper.cs" Link="DSHelper.cs" />
22+
<Compile Include="..\ExamplesAPIType.cs" Link="ExamplesAPIType.cs" />
2323
<Compile Include="..\JWTAuth.cs" Link="JWTAuth.cs" />
2424
<Compile Include="..\launcher-csharp\eSignature\Examples\SigningViaEmail.cs" Link="SigningViaEmail.cs" />
2525
</ItemGroup>

JWT-Console/Program.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,14 @@ static void Main(string[] args)
4242
// build a URL to provide consent for this Integration Key and this userId
4343
string url = "https://" + ConfigurationManager.AppSettings["AuthServer"] + "/oauth/auth?response_type=code" + caret + "&scope=impersonation%20signature" + caret +
4444
"&client_id=" + ConfigurationManager.AppSettings["ClientId"] + caret + "&redirect_uri=" + DevCenterPage;
45-
Console.WriteLine($"Consent is required - launching browser (URL is {url.Replace(caret, "")})");
45+
46+
string consentRequiredMessage = $"Consent is required - launching browser (URL is {url})";
47+
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
48+
{
49+
consentRequiredMessage = consentRequiredMessage.Replace(caret, "");
50+
}
51+
52+
Console.WriteLine(consentRequiredMessage);
4653

4754
// Start new browser window for login and consent to this app by DocuSign user
4855
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))

Quick_ACG/Quick_ACG.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<Compile Include="..\ExamplesApiTypeExtensions.cs" Link="ExamplesApiTypeExtensions.cs" />
20+
<Compile Include="..\ExamplesAPIType.cs" Link="ExamplesAPIType.cs" />
2121
<Compile Include="..\launcher-csharp\Common\SetViewBagAttribute.cs" Link="Common\SetViewBagAttribute.cs" />
2222
<Compile Include="..\launcher-csharp\EmbeddedSigningCeremony.cs" Link="EmbeddedSigningCeremony.cs" />
2323
<Compile Include="..\launcher-csharp\eSignature\Controllers\EmbeddedSigningCeremony.cs" Link="eSignature\Controllers\EmbeddedSigningCeremony.cs" />

launcher-csharp/eSignature/Controllers/HomeController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public IActionResult Index(string egName)
8888

8989
if (egName == "home")
9090
{
91+
this.RequestItemsService.EgName = null;
9192
this.CheckIfThisIsCfr11Account();
9293
return this.View();
9394
}

launcher-csharp/launcher-csharp - VS2019.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</ItemGroup>
3737

3838
<ItemGroup>
39-
<PackageReference Include="DocuSign.Admin" Version="1.3.0" />
39+
<PackageReference Include="DocuSign.Admin" Version="1.4.0" />
4040
<PackageReference Include="DocuSign.Click" Version="1.3.1" />
4141
<PackageReference Include="DocuSign.eSign.dll" Version="6.5.0" />
4242
<PackageReference Include="DocuSign.Monitor" Version="1.1.1" />

0 commit comments

Comments
 (0)