diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-01 22:55:03 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-01 23:19:26 -0800 |
commit | 198bffe042a3650095b27bed29d0f8c98bc5c926 (patch) | |
tree | bc1b2178b73d4303221ac48d320c758751abe5e9 /src/DotNetOpenAuth.AspNet/Clients/OAuth/IOAuthWebWorker.cs | |
parent | 6bc4c6db7529501e8a2c0b7fa54a24fb8e4dbf42 (diff) | |
download | DotNetOpenAuth-198bffe042a3650095b27bed29d0f8c98bc5c926.zip DotNetOpenAuth-198bffe042a3650095b27bed29d0f8c98bc5c926.tar.gz DotNetOpenAuth-198bffe042a3650095b27bed29d0f8c98bc5c926.tar.bz2 |
ReSharper code cleanup to help get this AspNet contribution into StyleCop compliance.
Diffstat (limited to 'src/DotNetOpenAuth.AspNet/Clients/OAuth/IOAuthWebWorker.cs')
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OAuth/IOAuthWebWorker.cs | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth/IOAuthWebWorker.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth/IOAuthWebWorker.cs index 82c55fb..413b624 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OAuth/IOAuthWebWorker.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth/IOAuthWebWorker.cs @@ -10,9 +10,39 @@ namespace DotNetOpenAuth.AspNet.Clients { using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OAuth.Messages; + /// <summary> + /// The io auth web worker. + /// </summary> public interface IOAuthWebWorker { - void RequestAuthentication(Uri callback); - AuthorizedTokenResponse ProcessUserAuthorization(); + #region Public Methods and Operators + + /// <summary> + /// The prepare authorized request. + /// </summary> + /// <param name="profileEndpoint"> + /// The profile endpoint. + /// </param> + /// <param name="accessToken"> + /// The access token. + /// </param> + /// <returns> + /// </returns> HttpWebRequest PrepareAuthorizedRequest(MessageReceivingEndpoint profileEndpoint, string accessToken); + + /// <summary> + /// The process user authorization. + /// </summary> + /// <returns> + /// </returns> + AuthorizedTokenResponse ProcessUserAuthorization(); + + /// <summary> + /// The request authentication. + /// </summary> + /// <param name="callback"> + /// The callback. + /// </param> + void RequestAuthentication(Uri callback); + #endregion } -}
\ No newline at end of file +} |