diff --git a/FortnoxSDK/ApiConstants.cs b/FortnoxSDK/ApiConstants.cs index e549a08f..74a286a6 100644 --- a/FortnoxSDK/ApiConstants.cs +++ b/FortnoxSDK/ApiConstants.cs @@ -3,9 +3,6 @@ namespace Fortnox.SDK; public class ApiConstants { - // TODO: Temporary constant - remove when not needed anymore - internal const string ObsoleteSyncMethodWarning = @"Method will be removed. Use async variant. If it doesn't exist, report an issue. See https://github.com/FortnoxAB/csharp-api-sdk/issues/180"; - /// /// Base URI of Fortnox API server. /// diff --git a/FortnoxSDK/Auth/IStandardAuthWorkflow.cs b/FortnoxSDK/Auth/IStandardAuthWorkflow.cs index ce571074..095d40eb 100644 --- a/FortnoxSDK/Auth/IStandardAuthWorkflow.cs +++ b/FortnoxSDK/Auth/IStandardAuthWorkflow.cs @@ -61,7 +61,7 @@ public interface IStandardAuthWorkflow /// OAuth 2 refresh token to be revoked. /// Client id given to you by Fortnox. /// Client secret given to you by Fortnox. - /// Success of the revocation + /// "Revoked" property taken from the API response. /// If the Fortnox API returns an error. Task RevokeRefreshTokenAsync(string refreshToken, string clientId, string clientSecret); @@ -69,7 +69,7 @@ public interface IStandardAuthWorkflow /// Use this function to revoke a non-expirable token issued by the legacy authentication workflow. /// /// GUID-formatted token to be revoked. - /// Success of the revocation + /// "Revoked" property taken from the API response. /// If the Fortnox API returns an error. Task RevokeLegacyTokenAsync(string accessToken); } \ No newline at end of file diff --git a/FortnoxSDK/Auth/IStaticTokenAuthWorkflow.cs b/FortnoxSDK/Auth/IStaticTokenAuthWorkflow.cs index 8de2c4f3..9055d462 100644 --- a/FortnoxSDK/Auth/IStaticTokenAuthWorkflow.cs +++ b/FortnoxSDK/Auth/IStaticTokenAuthWorkflow.cs @@ -6,7 +6,7 @@ namespace Fortnox.SDK.Auth; /// /// Represents methods of a Fortnox legacy auth workflow. /// -[Obsolete("2021-12-09: End-of-life for the static authorization. Use StandardAuth.")] +[Obsolete("2022-01-09: End-of-life for the static authorization. Use StandardAuth.")] public interface IStaticTokenAuthWorkflow { /// diff --git a/FortnoxSDK/FortnoxSDK.csproj b/FortnoxSDK/FortnoxSDK.csproj index 4e7212d6..7a1b5103 100644 --- a/FortnoxSDK/FortnoxSDK.csproj +++ b/FortnoxSDK/FortnoxSDK.csproj @@ -5,7 +5,7 @@ true 10 Fortnox.NET.SDK - 4.2.9-rc + 4.3.0 Softwerk AB Softwerk AB SDK package for Fortnox API. This package is developed and maintained by Softwerk AB. For more information please visit the repository on Github.