diff options
author | Microsoft <aspnet@microsoft.com> | 2011-12-08 15:50:14 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-01 19:35:54 -0800 |
commit | 67e1a42ffe2ed7ac2bf99c703f17e4406cc35921 (patch) | |
tree | b117701274fea4bb5cfb1342c7ba20605fbaf13d /src/DotNetOpenAuth.Web/IOAuthDataProvider.cs | |
parent | 8f4165ee515728aca3faaa26e8354a40612e85e4 (diff) | |
download | DotNetOpenAuth-67e1a42ffe2ed7ac2bf99c703f17e4406cc35921.zip DotNetOpenAuth-67e1a42ffe2ed7ac2bf99c703f17e4406cc35921.tar.gz DotNetOpenAuth-67e1a42ffe2ed7ac2bf99c703f17e4406cc35921.tar.bz2 |
Add DotNetOpenAuth.Web and DotNetOpenAut.WebPages projects. Add commands to build nuget packages for DNOA.
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 |