-
Notifications
You must be signed in to change notification settings - Fork 0
/
DotNetOpenAuth.OAuth.Consumer.xml
397 lines (397 loc) · 24.6 KB
/
DotNetOpenAuth.OAuth.Consumer.xml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<?xml version="1.0"?>
<doc>
<assembly>
<name>DotNetOpenAuth.OAuth.Consumer</name>
</assembly>
<members>
<member name="T:DotNetOpenAuth.OAuth.ChannelElements.IConsumerTokenManager">
<summary>
A token manager for use by a web site in its role as a consumer of
an individual ServiceProvider.
</summary>
</member>
<member name="P:DotNetOpenAuth.OAuth.ChannelElements.IConsumerTokenManager.ConsumerKey">
<summary>
Gets the consumer key.
</summary>
<value>The consumer key.</value>
</member>
<member name="P:DotNetOpenAuth.OAuth.ChannelElements.IConsumerTokenManager.ConsumerSecret">
<summary>
Gets the consumer secret.
</summary>
<value>The consumer secret.</value>
</member>
<member name="T:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerChannel">
<summary>
The messaging channel for OAuth 1.0(a) Consumers.
</summary>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerChannel.#ctor(DotNetOpenAuth.Messaging.ITamperProtectionChannelBindingElement,DotNetOpenAuth.Messaging.Bindings.INonceStore,DotNetOpenAuth.OAuth.ChannelElements.IConsumerTokenManager,DotNetOpenAuth.OAuth.ConsumerSecuritySettings,DotNetOpenAuth.Messaging.IMessageFactory)">
<summary>
Initializes a new instance of the <see cref="T:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerChannel"/> class.
</summary>
<param name="signingBindingElement">The binding element to use for signing.</param>
<param name="store">The web application store to use for nonces.</param>
<param name="tokenManager">The token manager instance to use.</param>
<param name="securitySettings">The security settings.</param>
<param name="messageFactory">The message factory.</param>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerChannel.GetConsumerSecret(System.String)">
<summary>
Gets the consumer secret for a given consumer key.
</summary>
<param name="consumerKey">The consumer key.</param>
<returns>The consumer secret.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerChannel.InitializeBindingElements(DotNetOpenAuth.Messaging.ITamperProtectionChannelBindingElement,DotNetOpenAuth.Messaging.Bindings.INonceStore)">
<summary>
Initializes the binding elements for the OAuth channel.
</summary>
<param name="signingBindingElement">The signing binding element.</param>
<param name="store">The nonce store.</param>
<returns>
An array of binding elements used to initialize the channel.
</returns>
</member>
<member name="T:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerMessageFactory">
<summary>
An OAuth-protocol specific implementation of the <see cref="T:DotNetOpenAuth.Messaging.IMessageFactory"/>
interface.
</summary>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerMessageFactory.#ctor">
<summary>
Initializes a new instance of the <see cref="T:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerMessageFactory"/> class.
</summary>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerMessageFactory.GetNewRequestMessage(DotNetOpenAuth.Messaging.MessageReceivingEndpoint,System.Collections.Generic.IDictionary{System.String,System.String})">
<summary>
Analyzes an incoming request message payload to discover what kind of
message is embedded in it and returns the type, or null if no match is found.
</summary>
<param name="recipient">The intended or actual recipient of the request message.</param>
<param name="fields">The name/value pairs that make up the message payload.</param>
<returns>
A newly instantiated <see cref="T:DotNetOpenAuth.Messaging.IProtocolMessage"/>-derived object that this message can
deserialize to. Null if the request isn't recognized as a valid protocol message.
</returns>
<remarks>
The request messages are:
UserAuthorizationResponse
</remarks>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.OAuthConsumerMessageFactory.GetNewResponseMessage(DotNetOpenAuth.Messaging.IDirectedProtocolMessage,System.Collections.Generic.IDictionary{System.String,System.String})">
<summary>
Analyzes an incoming request message payload to discover what kind of
message is embedded in it and returns the type, or null if no match is found.
</summary>
<param name="request">
The message that was sent as a request that resulted in the response.
Null on a Consumer site that is receiving an indirect message from the Service Provider.
</param>
<param name="fields">The name/value pairs that make up the message payload.</param>
<returns>
A newly instantiated <see cref="T:DotNetOpenAuth.Messaging.IProtocolMessage"/>-derived object that this message can
deserialize to. Null if the request isn't recognized as a valid protocol message.
</returns>
<remarks>
The response messages are:
UnauthorizedTokenResponse
AuthorizedTokenResponse
</remarks>
</member>
<member name="T:DotNetOpenAuth.OAuth.ChannelElements.RsaSha1ConsumerSigningBindingElement">
<summary>
A binding element that signs outgoing messages and verifies the signature on incoming messages.
</summary>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.RsaSha1ConsumerSigningBindingElement.#ctor(System.Security.Cryptography.X509Certificates.X509Certificate2)">
<summary>
Initializes a new instance of the <see cref="T:DotNetOpenAuth.OAuth.ChannelElements.RsaSha1ConsumerSigningBindingElement"/> class.
</summary>
<param name="signingCertificate">The certificate used to sign outgoing messages.</param>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.RsaSha1ConsumerSigningBindingElement.IsSignatureValid(DotNetOpenAuth.OAuth.ChannelElements.ITamperResistantOAuthMessage)">
<summary>
Determines whether the signature on some message is valid.
</summary>
<param name="message">The message to check the signature on.</param>
<returns>
<c>true</c> if the signature on the message is valid; otherwise, <c>false</c>.
</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.RsaSha1ConsumerSigningBindingElement.GetSignature(DotNetOpenAuth.OAuth.ChannelElements.ITamperResistantOAuthMessage)">
<summary>
Calculates a signature for a given message.
</summary>
<param name="message">The message to sign.</param>
<returns>The signature for the message.</returns>
<remarks>
This method signs the message per OAuth 1.0 section 9.3.
</remarks>
</member>
<member name="M:DotNetOpenAuth.OAuth.ChannelElements.RsaSha1ConsumerSigningBindingElement.Clone">
<summary>
Creates a new object that is a copy of the current instance.
</summary>
<returns>
A new object that is a copy of this instance.
</returns>
</member>
<member name="P:DotNetOpenAuth.OAuth.ChannelElements.RsaSha1ConsumerSigningBindingElement.SigningCertificate">
<summary>
Gets or sets the certificate used to sign outgoing messages. Used only by Consumers.
</summary>
</member>
<member name="T:DotNetOpenAuth.OAuth.ConsumerBase">
<summary>
Base class for <see cref="T:DotNetOpenAuth.OAuth.WebConsumer"/> and <see cref="T:DotNetOpenAuth.OAuth.DesktopConsumer"/> types.
</summary>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.#ctor(DotNetOpenAuth.OAuth.ServiceProviderDescription,DotNetOpenAuth.OAuth.ChannelElements.IConsumerTokenManager)">
<summary>
Initializes a new instance of the <see cref="T:DotNetOpenAuth.OAuth.ConsumerBase"/> class.
</summary>
<param name="serviceDescription">The endpoints and behavior of the Service Provider.</param>
<param name="tokenManager">The host's method of storing and recalling tokens and secrets.</param>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.RequestNewClientAccount(System.Collections.Generic.IDictionary{System.String,System.String})">
<summary>
Obtains an access token for a new account at the Service Provider via 2-legged OAuth.
</summary>
<param name="requestParameters">Any applicable parameters to include in the query string of the token request.</param>
<returns>The access token.</returns>
<remarks>
The token secret is stored in the <see cref="P:DotNetOpenAuth.OAuth.ConsumerBase.TokenManager"/>.
</remarks>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.PrepareAuthorizedRequest(DotNetOpenAuth.Messaging.MessageReceivingEndpoint,System.String)">
<summary>
Creates a web request prepared with OAuth authorization
that may be further tailored by adding parameters by the caller.
</summary>
<param name="endpoint">The URL and method on the Service Provider to send the request to.</param>
<param name="accessToken">The access token that permits access to the protected resource.</param>
<returns>The initialized WebRequest object.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.PrepareAuthorizedRequest(DotNetOpenAuth.Messaging.MessageReceivingEndpoint,System.String,System.Collections.Generic.IDictionary{System.String,System.String})">
<summary>
Creates a web request prepared with OAuth authorization
that may be further tailored by adding parameters by the caller.
</summary>
<param name="endpoint">The URL and method on the Service Provider to send the request to.</param>
<param name="accessToken">The access token that permits access to the protected resource.</param>
<param name="extraData">Extra parameters to include in the message. Must not be null, but may be empty.</param>
<returns>The initialized WebRequest object.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.PrepareAuthorizedRequest(DotNetOpenAuth.Messaging.MessageReceivingEndpoint,System.String,System.Collections.Generic.IEnumerable{DotNetOpenAuth.Messaging.MultipartPostPart})">
<summary>
Prepares an authorized request that carries an HTTP multi-part POST, allowing for binary data.
</summary>
<param name="endpoint">The URL and method on the Service Provider to send the request to.</param>
<param name="accessToken">The access token that permits access to the protected resource.</param>
<param name="binaryData">Extra parameters to include in the message. Must not be null, but may be empty.</param>
<returns>The initialized WebRequest object.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.PrepareAuthorizedRequest(DotNetOpenAuth.OAuth.Messages.AccessProtectedResourceRequest)">
<summary>
Prepares an HTTP request that has OAuth authorization already attached to it.
</summary>
<param name="message">The OAuth authorization message to attach to the HTTP request.</param>
<returns>
The HttpWebRequest that can be used to send the HTTP request to the remote service provider.
</returns>
<remarks>
If <see cref="P:DotNetOpenAuth.Messaging.IDirectedProtocolMessage.HttpMethods"/> property on the
<paramref name="message"/> has the
<see cref="F:DotNetOpenAuth.Messaging.HttpDeliveryMethods.AuthorizationHeaderRequest"/> flag set and
<see cref="P:DotNetOpenAuth.OAuth.ChannelElements.ITamperResistantOAuthMessage.HttpMethod"/> is set to an HTTP method
that includes an entity body, the request stream is automatically sent
if and only if the <see cref="P:DotNetOpenAuth.Messaging.IMessage.ExtraData"/> dictionary is non-empty.
</remarks>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.PrepareAuthorizedRequestAndSend(DotNetOpenAuth.Messaging.MessageReceivingEndpoint,System.String)">
<summary>
Creates a web request prepared with OAuth authorization
that may be further tailored by adding parameters by the caller.
</summary>
<param name="endpoint">The URL and method on the Service Provider to send the request to.</param>
<param name="accessToken">The access token that permits access to the protected resource.</param>
<returns>The initialized WebRequest object.</returns>
<exception cref="T:System.Net.WebException">Thrown if the request fails for any reason after it is sent to the Service Provider.</exception>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.Dispose">
<summary>
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
</summary>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.CreateAuthorizingMessage(DotNetOpenAuth.Messaging.MessageReceivingEndpoint,System.String)">
<summary>
Creates a web request prepared with OAuth authorization
that may be further tailored by adding parameters by the caller.
</summary>
<param name="endpoint">The URL and method on the Service Provider to send the request to.</param>
<param name="accessToken">The access token that permits access to the protected resource.</param>
<returns>The initialized WebRequest object.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.PrepareRequestUserAuthorization(System.Uri,System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.String},System.String@)">
<summary>
Prepares an OAuth message that begins an authorization request that will
redirect the user to the Service Provider to provide that authorization.
</summary>
<param name="callback">
An optional Consumer URL that the Service Provider should redirect the
User Agent to upon successful authorization.
</param>
<param name="requestParameters">Extra parameters to add to the request token message. Optional.</param>
<param name="redirectParameters">Extra parameters to add to the redirect to Service Provider message. Optional.</param>
<param name="requestToken">The request token that must be exchanged for an access token after the user has provided authorization.</param>
<returns>The pending user agent redirect based message to be sent as an HttpResponse.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.ProcessUserAuthorization(System.String,System.String)">
<summary>
Exchanges a given request token for access token.
</summary>
<param name="requestToken">The request token that the user has authorized.</param>
<param name="verifier">The verifier code.</param>
<returns>
The access token assigned by the Service Provider.
</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.ConsumerBase.Dispose(System.Boolean)">
<summary>
Releases unmanaged and - optionally - managed resources
</summary>
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
</member>
<member name="P:DotNetOpenAuth.OAuth.ConsumerBase.ConsumerKey">
<summary>
Gets the Consumer Key used to communicate with the Service Provider.
</summary>
</member>
<member name="P:DotNetOpenAuth.OAuth.ConsumerBase.ServiceProvider">
<summary>
Gets the Service Provider that will be accessed.
</summary>
</member>
<member name="P:DotNetOpenAuth.OAuth.ConsumerBase.TokenManager">
<summary>
Gets the persistence store for tokens and secrets.
</summary>
</member>
<member name="P:DotNetOpenAuth.OAuth.ConsumerBase.Channel">
<summary>
Gets the channel to use for sending/receiving messages.
</summary>
</member>
<member name="P:DotNetOpenAuth.OAuth.ConsumerBase.SecuritySettings">
<summary>
Gets the security settings for this consumer.
</summary>
</member>
<member name="P:DotNetOpenAuth.OAuth.ConsumerBase.OAuthChannel">
<summary>
Gets or sets the channel to use for sending/receiving messages.
</summary>
</member>
<member name="T:DotNetOpenAuth.OAuth.DesktopConsumer">
<summary>
Used by a desktop application to use OAuth to access the Service Provider on behalf of the User.
</summary>
<remarks>
The methods on this class are thread-safe. Provided the properties are set and not changed
afterward, a single instance of this class may be used by an entire desktop application safely.
</remarks>
</member>
<member name="M:DotNetOpenAuth.OAuth.DesktopConsumer.#ctor(DotNetOpenAuth.OAuth.ServiceProviderDescription,DotNetOpenAuth.OAuth.ChannelElements.IConsumerTokenManager)">
<summary>
Initializes a new instance of the <see cref="T:DotNetOpenAuth.OAuth.DesktopConsumer"/> class.
</summary>
<param name="serviceDescription">The endpoints and behavior of the Service Provider.</param>
<param name="tokenManager">The host's method of storing and recalling tokens and secrets.</param>
</member>
<member name="M:DotNetOpenAuth.OAuth.DesktopConsumer.RequestUserAuthorization(System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.String},System.String@)">
<summary>
Begins an OAuth authorization request.
</summary>
<param name="requestParameters">Extra parameters to add to the request token message. Optional.</param>
<param name="redirectParameters">Extra parameters to add to the redirect to Service Provider message. Optional.</param>
<param name="requestToken">The request token that must be exchanged for an access token after the user has provided authorization.</param>
<returns>The URL to open a browser window to allow the user to provide authorization.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.DesktopConsumer.ProcessUserAuthorization(System.String)">
<summary>
Exchanges a given request token for access token.
</summary>
<param name="requestToken">The request token that the user has authorized.</param>
<returns>The access token assigned by the Service Provider.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.DesktopConsumer.ProcessUserAuthorization(System.String,System.String)">
<summary>
Exchanges a given request token for access token.
</summary>
<param name="requestToken">The request token that the user has authorized.</param>
<param name="verifier">The verifier code typed in by the user. Must not be <c>Null</c> for OAuth 1.0a service providers and later.</param>
<returns>
The access token assigned by the Service Provider.
</returns>
</member>
<member name="T:DotNetOpenAuth.OAuth.WebConsumer">
<summary>
A website or application that uses OAuth to access the Service Provider on behalf of the User.
</summary>
<remarks>
The methods on this class are thread-safe. Provided the properties are set and not changed
afterward, a single instance of this class may be used by an entire web application safely.
</remarks>
</member>
<member name="M:DotNetOpenAuth.OAuth.WebConsumer.#ctor(DotNetOpenAuth.OAuth.ServiceProviderDescription,DotNetOpenAuth.OAuth.ChannelElements.IConsumerTokenManager)">
<summary>
Initializes a new instance of the <see cref="T:DotNetOpenAuth.OAuth.WebConsumer"/> class.
</summary>
<param name="serviceDescription">The endpoints and behavior of the Service Provider.</param>
<param name="tokenManager">The host's method of storing and recalling tokens and secrets.</param>
</member>
<member name="M:DotNetOpenAuth.OAuth.WebConsumer.PrepareRequestUserAuthorization">
<summary>
Begins an OAuth authorization request and redirects the user to the Service Provider
to provide that authorization. Upon successful authorization, the user is redirected
back to the current page.
</summary>
<returns>The pending user agent redirect based message to be sent as an HttpResponse.</returns>
<remarks>
Requires HttpContext.Current.
</remarks>
</member>
<member name="M:DotNetOpenAuth.OAuth.WebConsumer.PrepareRequestUserAuthorization(System.Uri,System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.String})">
<summary>
Prepares an OAuth message that begins an authorization request that will
redirect the user to the Service Provider to provide that authorization.
</summary>
<param name="callback">
An optional Consumer URL that the Service Provider should redirect the
User Agent to upon successful authorization.
</param>
<param name="requestParameters">Extra parameters to add to the request token message. Optional.</param>
<param name="redirectParameters">Extra parameters to add to the redirect to Service Provider message. Optional.</param>
<returns>The pending user agent redirect based message to be sent as an HttpResponse.</returns>
</member>
<member name="M:DotNetOpenAuth.OAuth.WebConsumer.ProcessUserAuthorization">
<summary>
Processes an incoming authorization-granted message from an SP and obtains an access token.
</summary>
<returns>The access token, or null if no incoming authorization message was recognized.</returns>
<remarks>
Requires HttpContext.Current.
</remarks>
</member>
<member name="M:DotNetOpenAuth.OAuth.WebConsumer.ProcessUserAuthorization(System.Web.HttpRequestBase)">
<summary>
Processes an incoming authorization-granted message from an SP and obtains an access token.
</summary>
<param name="request">The incoming HTTP request.</param>
<returns>The access token, or null if no incoming authorization message was recognized.</returns>
</member>
</members>
</doc>