diff --git a/src/GregClient/AuthProviders/IAuthProvider.cs b/src/GregClient/AuthProviders/IAuthProvider.cs
index e411b6f..ea1030f 100644
--- a/src/GregClient/AuthProviders/IAuthProvider.cs
+++ b/src/GregClient/AuthProviders/IAuthProvider.cs
@@ -1,5 +1,5 @@
-using System;
-using Greg.AuthProviders;
+using System;
+using Greg.AuthProviders;
using RestSharp;
namespace Greg
@@ -39,11 +39,23 @@ 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();
+ }
+
+ ///
+ /// Implement this interface to get user information.
+ ///
+ public interface IOAuth2UserIDProvider
+ {
+ ///
+ /// Gets the User ID.
+ ///
+ public string UserId { get; }
}
}
\ No newline at end of file