From: Jyothi Kumar Sambolu Date: Wed, 22 Feb 2017 14:20:37 +0000 (+0530) Subject: Contains fixes to SQE review comments X-Git-Tag: submit/trunk/20170823.075128~108^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=846fd5abf2625c572e34c3e56d5537ef83815265;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Contains fixes to SQE review comments Change-Id: I660b75b795a3b7eacf111b88b115075fd9f91b69 Signed-off-by: Jyothi Kumar Sambolu --- diff --git a/packaging/csapi-account-fido-client.spec b/packaging/csapi-account-fido-client.spec index 55aca9d..517c494 100755 --- a/packaging/csapi-account-fido-client.spec +++ b/packaging/csapi-account-fido-client.spec @@ -8,7 +8,7 @@ Name: csapi-account-fido-client Summary: FIDO UAF C# API for Tizen -Version: 1.0.0 +Version: 1.0.1 Release: 1 Group: Development/Libraries License: Apache-2.0 diff --git a/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/ErrorFactory.cs b/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/ErrorFactory.cs index ab912d6..ef3191a 100755 --- a/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/ErrorFactory.cs +++ b/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/ErrorFactory.cs @@ -72,7 +72,7 @@ namespace Tizen.Account.FidoClient } else if ((FidoErrorCode)error == FidoErrorCode.ProtocolError) { - return new Exception("Protocol error, the interaction may have timed out, or the UAF message is malformed."); + return new ArgumentException("Protocol error, the interaction may have timed out, or the UAF message is malformed."); } else if ((FidoErrorCode)error == FidoErrorCode.UserCancelled) { diff --git a/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/UafMessage.cs b/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/UafMessage.cs index 9e60540..326c383 100755 --- a/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/UafMessage.cs +++ b/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/UafMessage.cs @@ -22,6 +22,13 @@ namespace Tizen.Account.FidoClient public class UafMessage { /// + /// The constructor + /// + public UafMessage() + { + } + + /// /// The FIDO message in JSON format which is received from the relying party server /// public string Operation { get; set; } diff --git a/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/UafResponse.cs b/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/UafResponse.cs index 4745749..ad85ac3 100755 --- a/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/UafResponse.cs +++ b/src/Tizen.Account.FidoClient/Tizen.Account.FidoClient/UafResponse.cs @@ -22,6 +22,13 @@ namespace Tizen.Account.FidoClient public class UafResponse { /// + /// The constructor + /// + public UafResponse() + { + } + + /// /// FIDO response message in JSON format /// public string Response { set; get; }