diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-11-03 16:02:57 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-11-03 16:02:57 -0800 |
commit | aa1f55f58a561ff64dc268977d0d7c9decb92bbe (patch) | |
tree | fd685f00353d26493b40df7eaeac78745e27d1b8 /src/DotNetOAuth/Messages/UserAuthorizationResponse.cs | |
parent | f1794fc8779ae39ac3d5bc6e8b811523e62ca482 (diff) | |
download | DotNetOpenAuth-aa1f55f58a561ff64dc268977d0d7c9decb92bbe.zip DotNetOpenAuth-aa1f55f58a561ff64dc268977d0d7c9decb92bbe.tar.gz DotNetOpenAuth-aa1f55f58a561ff64dc268977d0d7c9decb92bbe.tar.bz2 |
Moved all the OAuth classes into its own namespace in preparation to receiving DotNetOpenId merge.
Diffstat (limited to 'src/DotNetOAuth/Messages/UserAuthorizationResponse.cs')
-rw-r--r-- | src/DotNetOAuth/Messages/UserAuthorizationResponse.cs | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/DotNetOAuth/Messages/UserAuthorizationResponse.cs b/src/DotNetOAuth/Messages/UserAuthorizationResponse.cs deleted file mode 100644 index c5312e8..0000000 --- a/src/DotNetOAuth/Messages/UserAuthorizationResponse.cs +++ /dev/null @@ -1,40 +0,0 @@ -//-----------------------------------------------------------------------
-// <copyright file="UserAuthorizationResponse.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 UserAuthorizationResponse : MessageBase, ITokenContainingMessage {
- /// <summary>
- /// Initializes a new instance of the <see cref="UserAuthorizationResponse"/> class.
- /// </summary>
- /// <param name="consumer">The URI of the Consumer endpoint to send this message to.</param>
- internal UserAuthorizationResponse(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; }
- }
-}
|