-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update utilities, add JsonLongToStringConverter to handle IDs
- Loading branch information
1 parent
c5f9e39
commit 8743199
Showing
4 changed files
with
281 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 16 additions & 16 deletions
32
src/Microsoft.Devices.HardwareDevCenterManager/Utility/AuthorizationHandlerCredentials.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
/*++ | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
--*/ | ||
using Newtonsoft.Json; | ||
|
||
namespace Microsoft.Devices.HardwareDevCenterManager.Utility | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Microsoft.Devices.HardwareDevCenterManager.Utility; | ||
|
||
public class AuthorizationHandlerCredentials | ||
{ | ||
public class AuthorizationHandlerCredentials | ||
{ | ||
[JsonProperty("key")] | ||
public string Key { get; set; } | ||
[JsonPropertyName("key")] | ||
public string Key { get; set; } | ||
|
||
[JsonProperty("clientId")] | ||
public string ClientId { get; set; } | ||
[JsonPropertyName("clientId")] | ||
public string ClientId { get; set; } | ||
|
||
[JsonProperty("tenantId")] | ||
public string TenantId { get; set; } | ||
[JsonPropertyName("tenantId")] | ||
public string TenantId { get; set; } | ||
|
||
[JsonProperty("url")] | ||
public System.Uri Url { get; set; } | ||
[JsonPropertyName("url")] | ||
public System.Uri Url { get; set; } | ||
|
||
[JsonProperty("urlPrefix")] | ||
public System.Uri UrlPrefix { get; set; } | ||
} | ||
[JsonPropertyName("urlPrefix")] | ||
public System.Uri UrlPrefix { get; set; } | ||
} |
Oops, something went wrong.