blob: a054a1c13e6bf726d8484150fff0fcf0bf000d02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
//-----------------------------------------------------------------------
// <copyright file="IOAuthWebWorker.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.AspNet.Clients {
using System;
using System.Net;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OAuth.Messages;
/// <summary>
/// The io auth web worker.
/// </summary>
public interface IOAuthWebWorker {
#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>An HTTP request.</returns>
HttpWebRequest PrepareAuthorizedRequest(MessageReceivingEndpoint profileEndpoint, string accessToken);
/// <summary>
/// The process user authorization.
/// </summary>
/// <returns>The response message.</returns>
AuthorizedTokenResponse ProcessUserAuthorization();
/// <summary>
/// The request authentication.
/// </summary>
/// <param name="callback">
/// The callback.
/// </param>
void RequestAuthentication(Uri callback);
#endregion
}
}
|