diff --git a/Xero.NetStandard.OAuth2/Client/Configuration.cs b/Xero.NetStandard.OAuth2/Client/Configuration.cs index f0122de6..98b7df8c 100644 --- a/Xero.NetStandard.OAuth2/Client/Configuration.cs +++ b/Xero.NetStandard.OAuth2/Client/Configuration.cs @@ -30,7 +30,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "3.18.0"; + public const string Version = "3.18.1"; /// /// Identifier for ISO 8601 DateTime Format @@ -99,7 +99,7 @@ public class Configuration : IReadableConfiguration [System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] public Configuration() { - UserAgent = "xero-netstandard-3.18.0"; + UserAgent = "xero-netstandard-3.18.1"; BasePath = "https://api.xero.com/api.xro/2.0"; DefaultHeader = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -332,7 +332,7 @@ public static String ToDebugReport() String report = "C# SDK (Xero.NetStandard.OAuth2) Debug Report:\n"; report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n"; report += " Version of the API: 2.13.4\n"; - report += " SDK Package Version: 3.18.0\n"; + report += " SDK Package Version: 3.18.1\n"; return report; } diff --git a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj index d426f556..163be4a6 100644 --- a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj +++ b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj @@ -16,7 +16,7 @@ true true Xero.NetStandard.OAuth2 - 3.18.0 + 3.18.1 bin\$(Configuration)\$(TargetFramework)\Xero.NetStandard.OAuth2.xml https://github.com/XeroAPI/Xero-NetStandard/ https://en.gravatar.com/userimage/180557955/74b3a957d886bc921b0d1455beed9dab.png diff --git a/Xero.NetStandard.OAuth2Client/src/Client/IXeroClient.cs b/Xero.NetStandard.OAuth2Client/src/Client/IXeroClient.cs index 44eb4f92..1fc8c57f 100644 --- a/Xero.NetStandard.OAuth2Client/src/Client/IXeroClient.cs +++ b/Xero.NetStandard.OAuth2Client/src/Client/IXeroClient.cs @@ -18,6 +18,7 @@ public interface IXeroClient Task RequestAccessTokenAsync(string code); Task RequestAccessTokenPkceAsync(string code, string codeVerifier); Task RefreshAccessTokenAsync(IXeroToken xeroToken); + Task RequestClientCredentialsTokenAsync(); Task GetCurrentValidTokenAsync(IXeroToken xeroToken); Task> GetConnectionsAsync(IXeroToken xeroToken); Task DeleteConnectionAsync(IXeroToken xeroToken, Tenant xeroTenant); diff --git a/docs/accounting/index.html b/docs/accounting/index.html index c9b7f8d5..b393dd63 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -5937,7 +5937,7 @@