diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-11-02 21:43:08 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-11-02 21:43:08 -0800 |
commit | 916966f88a3ed3246374efb625804b11bdda6fa5 (patch) | |
tree | 33746b2a4eab9d336db4fe57c7056e5d83f407fa /src/DotNetOAuth/Messages/DirectUserToConsumerMessage.cs | |
parent | 696c3507c353a2b96d832efe6c8b87cfbad0b17a (diff) | |
download | DotNetOpenAuth-916966f88a3ed3246374efb625804b11bdda6fa5.zip DotNetOpenAuth-916966f88a3ed3246374efb625804b11bdda6fa5.tar.gz DotNetOpenAuth-916966f88a3ed3246374efb625804b11bdda6fa5.tar.bz2 |
Renamed all the OAuth message types.
Diffstat (limited to 'src/DotNetOAuth/Messages/DirectUserToConsumerMessage.cs')
-rw-r--r-- | src/DotNetOAuth/Messages/DirectUserToConsumerMessage.cs | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/DotNetOAuth/Messages/DirectUserToConsumerMessage.cs b/src/DotNetOAuth/Messages/DirectUserToConsumerMessage.cs deleted file mode 100644 index c73eaa4..0000000 --- a/src/DotNetOAuth/Messages/DirectUserToConsumerMessage.cs +++ /dev/null @@ -1,40 +0,0 @@ -//-----------------------------------------------------------------------
-// <copyright file="DirectUserToConsumerMessage.cs" company="Andrew Arnott">
-// Copyright (c) Andrew Arnott. All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace DotNetOAuth.Messages {
- using System;
- using DotNetOAuth.Messaging;
-
- /// <summary>
- /// A message used to redirect the user from a Service Provider to a Consumer's web site.
- /// </summary>
- /// <remarks>
- /// The class is sealed because extra parameters are determined by the callback URI provided by the Consumer.
- /// </remarks>
- public sealed class DirectUserToConsumerMessage : MessageBase, ITokenContainingMessage {
- /// <summary>
- /// Initializes a new instance of the <see cref="DirectUserToConsumerMessage"/> class.
- /// </summary>
- /// <param name="consumer">The URI of the Consumer endpoint to send this message to.</param>
- internal DirectUserToConsumerMessage(Uri consumer)
- : base(MessageProtections.None, MessageTransport.Indirect, new MessageReceivingEndpoint(consumer, HttpDeliveryMethods.GetRequest)) {
- }
-
- /// <summary>
- /// Gets or sets the Request or Access Token.
- /// </summary>
- string ITokenContainingMessage.Token {
- get { return this.RequestToken; }
- set { this.RequestToken = value; }
- }
-
- /// <summary>
- /// Gets or sets the Request Token.
- /// </summary>
- [MessagePart("oauth_token", IsRequired = true)]
- internal string RequestToken { get; set; }
- }
-}
|