From 5995def5e8b1fa7f816159c6cfd923f0f8118b34 Mon Sep 17 00:00:00 2001 From: mjkkirschner Date: Thu, 20 Apr 2023 17:22:57 -0400 Subject: [PATCH 1/2] new interface --- src/GregClient/AuthProviders/IAuthProvider.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/GregClient/AuthProviders/IAuthProvider.cs b/src/GregClient/AuthProviders/IAuthProvider.cs index 62c31fa..d6f888f 100644 --- a/src/GregClient/AuthProviders/IAuthProvider.cs +++ b/src/GregClient/AuthProviders/IAuthProvider.cs @@ -36,4 +36,11 @@ public interface IOAuth2AuthProvider : IAuthProvider /// new void SignRequest(ref RestRequest m, RestClient client); } + /// + /// Implement this interface to provide direct access to the current bearer token. + /// + public interface IOAuth2AccessTokenProvider + { + string GetAccessToken(); + } } \ No newline at end of file From 1c30348abe103ca749c6b4056504bd9a6cb1b8cb Mon Sep 17 00:00:00 2001 From: mjkkirschner Date: Thu, 20 Apr 2023 17:23:34 -0400 Subject: [PATCH 2/2] update vers --- src/AssemblyInfoGenerator/AssemblyInfo.cs | 4 ++-- src/AssemblyInfoGenerator/AssemblyInfo.tt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AssemblyInfoGenerator/AssemblyInfo.cs b/src/AssemblyInfoGenerator/AssemblyInfo.cs index a4c3a4f..7c9d66e 100644 --- a/src/AssemblyInfoGenerator/AssemblyInfo.cs +++ b/src/AssemblyInfoGenerator/AssemblyInfo.cs @@ -36,7 +36,7 @@ // to distinguish one build from another. AssemblyFileVersion is specified // in AssemblyVersionInfo.cs so that it can be easily incremented by the // automated build process. -[assembly: AssemblyVersion("2.2.0.1056")] +[assembly: AssemblyVersion("2.4.0.4747")] // By default, the "Product version" shown in the file properties window is @@ -55,4 +55,4 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyFileVersion("2.2.0.1056")] +[assembly: AssemblyFileVersion("2.4.0.4747")] diff --git a/src/AssemblyInfoGenerator/AssemblyInfo.tt b/src/AssemblyInfoGenerator/AssemblyInfo.tt index 070fc7f..a5e2c5d 100644 --- a/src/AssemblyInfoGenerator/AssemblyInfo.tt +++ b/src/AssemblyInfoGenerator/AssemblyInfo.tt @@ -59,7 +59,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyFileVersion("<#= this.MajorVersion #>.<#= this.MinorVersion #>.<#= this.BuildNumber #>.<#= this.RevisionNumber #>")] <#+ int MajorVersion = 2; -int MinorVersion = 3; +int MinorVersion = 4; int BuildNumber = 0; // The datetime baseline we choose using this algorithm will affect build number and all nuget packages uploaded // Please only change when major or minor version got incremented