Skip to content

Commit 53d0d8c

Browse files
committed
Fixed the issue for apptoken -- deprecated
1 parent ee611cb commit 53d0d8c

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

IPPDotNetDevKitCSV3/Code/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<PackageIcon>$(MSBuildThisFileDirectory)logo.png</PackageIcon>
1515
<OutputPath>$(SolutionDir)artifacts\bin</OutputPath>
1616
<Copyright>Copyright © 2019 Intuit, Inc.</Copyright>
17-
<AssemblyVersion>10.0.0.0</AssemblyVersion>
18-
<FileVersion>10.0.0.0</FileVersion>
17+
<AssemblyVersion>10.0.0.1</AssemblyVersion>
18+
<FileVersion>10.0.0.1</FileVersion>
1919
<Company>Intuit</Company>
2020
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
2121
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>

IPPDotNetDevKitCSV3/Code/Intuit.Ipp.Core/ServiceContext.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ public ServiceContext(string realmId, IntuitServicesType serviceType, IRequestVa
167167
/// <exception cref="Intuit.Ipp.Exception.IdsException">If arguments are null or empty.</exception>
168168
/// <exception cref="Intuit.Ipp.Exception.InvalidRealmException">If realm id is invalid.</exception>
169169
/// <exception cref="Intuit.Ipp.Exception.InvalidTokenException">If the token is invalid.</exception>
170+
[Obsolete("This constructor is deprecated as appToken is not supported in OAuth2. Please use the other constuctor")]
170171
public ServiceContext(string appToken, string realmId, IntuitServicesType serviceType, IRequestValidator requestValidator = null)
171172
: this()
172173
{
@@ -184,6 +185,7 @@ public ServiceContext(string appToken, string realmId, IntuitServicesType servic
184185
this.realmId = realmId;
185186
this.serviceType = serviceType;
186187
this.appToken = appToken;
188+
187189
if (requestValidator != null)
188190
{
189191
this.IppConfiguration.Security = requestValidator;
@@ -235,6 +237,7 @@ public string RealmId
235237
/// <summary>
236238
/// Gets or Sets the Application Token.
237239
/// </summary>
240+
[Obsolete("This property is deprecated as appToken is not supported in OAuth2")]
238241
public string AppToken
239242
{
240243
get { return this.appToken; }

IPPDotNetDevKitCSV3/Code/Intuit.Ipp.Nupkg/Intuit.Ipp.Nupkg.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PackageId>IppDotNetSdkForQuickBooksApiV3</PackageId>
1010
<AssemblyName>IppDotNetSdkForQuickBooksApiV3</AssemblyName>
1111
<DocumentationFile>$(BaseOutputPath)$(AssemblyName).xml</DocumentationFile>
12-
<MainVersion>10.0.0.0</MainVersion>
12+
<MainVersion>10.0.0.1</MainVersion>
1313
<!--<PackageVersionSuffix>stable</PackageVersionSuffix>-->
1414
<!--<Version>$(MainVersion)-$(PackageVersionSuffix)</Version>-->
1515
<Version>$(MainVersion)</Version>

IPPDotNetDevKitCSV3/Code/Intuit.Ipp.Utility/Common/CoreConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public static class CoreConstants
254254
/// <summary>
255255
/// The Request source header value.
256256
/// </summary>
257-
public const string REQUESTSOURCEHEADER = "V3DotNetSDK10.0.0.0";
257+
public const string REQUESTSOURCEHEADER = "V3DotNetSDK10.0.0.1";
258258

259259
/// <summary>
260260
/// multipart/form-data format

0 commit comments

Comments
 (0)