Skip to content

Commit 536b99f

Browse files
authored
Merge branch 'master' into maintenance-2025
Signed-off-by: Anna Hileta <80112359+annahileta@users.noreply.github.com>
2 parents c79f24f + 69db94e commit 536b99f

File tree

240 files changed

+3398
-880
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+3398
-880
lines changed

DSHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="DSHelper.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="DSHelper.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Common

ExamplesAPIType.cs

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="ExamplesAPIType.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="ExamplesAPIType.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Common
@@ -54,7 +54,19 @@ public enum ExamplesApiType
5454
/// Notary API
5555
/// </summary>
5656
[Description("neg")]
57-
Notary = 7
57+
Notary = 7,
58+
59+
/// <summary>
60+
/// Navigator
61+
/// </summary>")]
62+
[Description("nav")]
63+
Navigator = 8,
64+
65+
/// <summary>
66+
/// Maestro
67+
/// </summary>")]
68+
[Description("mae")]
69+
Maestro = 9,
5870
}
5971

6072
public static class ExamplesApiTypeExtensions

ExamplesApiTypeExtensions.cs

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="ExamplesApiTypeExtensions.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="ExamplesApiTypeExtensions.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Common
@@ -50,23 +50,29 @@ public enum ExamplesApiType
5050
[Description("web")]
5151
WebForms = 6,
5252

53-
/// <summary>
54-
/// Maestro API
55-
/// </summary>
56-
[Description("mae")]
57-
Maestro = 7,
58-
5953
/// <summary>
6054
/// Notary API
6155
/// </summary>
6256
[Description("neg")]
63-
Notary = 8,
57+
Notary = 7,
6458

6559
/// <summary>
6660
/// Connected Fields
6761
/// </summary>")]
6862
[Description("cf")]
69-
ConnectedFields = 9,
63+
ConnectedFields = 8,
64+
65+
/// <summary>
66+
/// Navigator
67+
/// </summary>")]
68+
[Description("nav")]
69+
Navigator = 9,
70+
71+
/// <summary>
72+
/// Maestro
73+
/// </summary>")]
74+
[Description("mae")]
75+
Maestro = 10,
7076
}
7177

7278
public static class ExamplesApiTypeExtensions

JWTAuth.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="JWTAuth.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="JWTAuth.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Authentication
@@ -50,6 +50,14 @@ public static OAuthToken AuthenticateWithJwt(string api, string clientId, string
5050
});
5151
}
5252

53+
if (apiType == ExamplesApiType.Maestro)
54+
{
55+
scopes.AddRange(new List<string>
56+
{
57+
"aow_manage",
58+
});
59+
}
60+
5361
if (apiType == ExamplesApiType.Monitor)
5462
{
5563
scopes.AddRange(new List<string>
@@ -87,6 +95,11 @@ public static OAuthToken AuthenticateWithJwt(string api, string clientId, string
8795
scopes.Add("webforms_instance_read");
8896
}
8997

98+
if (apiType == ExamplesApiType.Navigator)
99+
{
100+
scopes.Add("adm_store_unified_repo_read");
101+
}
102+
90103
return docuSignClient.RequestJWTUserToken(
91104
clientId,
92105
impersonatedUserId,

launcher-csharp/Admin/Controllers/AuditUsers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="AuditUsers.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="AuditUsers.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Admin.Controllers

launcher-csharp/Admin/Controllers/BulkExportUserData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="BulkExportUserData.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="BulkExportUserData.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Admin.Controllers

launcher-csharp/Admin/Controllers/CloneAccount.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="CloneAccount.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="CloneAccount.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Admin.Controllers

launcher-csharp/Admin/Controllers/CreateAccount.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="CreateAccount.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="CreateAccount.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Admin.Controllers

launcher-csharp/Admin/Controllers/CreateCLMESignUser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="CreateCLMESignUser.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="CreateCLMESignUser.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Admin.Controllers

launcher-csharp/Admin/Controllers/CreateUser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// <copyright file="CreateUser.cs" company="DocuSign">
2-
// Copyright (c) DocuSign. All rights reserved.
1+
// <copyright file="CreateUser.cs" company="Docusign">
2+
// Copyright (c) Docusign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Admin.Controllers

0 commit comments

Comments
 (0)