diff options
Diffstat (limited to 'src/DotNetOpenAuth.Web/IOAuthDataProvider.cs')
-rw-r--r-- | src/DotNetOpenAuth.Web/IOAuthDataProvider.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Web/IOAuthDataProvider.cs b/src/DotNetOpenAuth.Web/IOAuthDataProvider.cs new file mode 100644 index 0000000..cf2d576 --- /dev/null +++ b/src/DotNetOpenAuth.Web/IOAuthDataProvider.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; + +namespace DotNetOpenAuth.Web +{ + public interface IOAuthDataProvider + { + string GetUserNameFromOAuth(string oAuthProvider, string oAuthId); + + void CreateOrUpdateOAuthAccount(string oAuthProvider, string oAuthId, string userName); + + bool DeleteOAuthAccount(string oAuthProvider, string oAuthId); + + ICollection<OAuthAccount> GetOAuthAccountsFromUserName(string userName); + } +}
\ No newline at end of file |