diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-28 15:04:04 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-28 15:04:04 -0700 |
commit | ad79dec82e43910db29d1a259155f2cf3f86e731 (patch) | |
tree | 34fc5eab2d77fdd3e6c2aa48f2d056c5e6ba6ff5 /src/DotNetOAuth/ServiceProviderEndpoint.cs | |
parent | 92ec674bd52330d4847f75150cd34263336219b6 (diff) | |
download | DotNetOpenAuth-ad79dec82e43910db29d1a259155f2cf3f86e731.zip DotNetOpenAuth-ad79dec82e43910db29d1a259155f2cf3f86e731.tar.gz DotNetOpenAuth-ad79dec82e43910db29d1a259155f2cf3f86e731.tar.bz2 |
Appendix scenario test passing (again), this time with HMAC signing of HTTP requests.
Diffstat (limited to 'src/DotNetOAuth/ServiceProviderEndpoint.cs')
-rw-r--r-- | src/DotNetOAuth/ServiceProviderEndpoint.cs | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/DotNetOAuth/ServiceProviderEndpoint.cs b/src/DotNetOAuth/ServiceProviderEndpoint.cs deleted file mode 100644 index 89f5e61..0000000 --- a/src/DotNetOAuth/ServiceProviderEndpoint.cs +++ /dev/null @@ -1,53 +0,0 @@ -//-----------------------------------------------------------------------
-// <copyright file="ServiceProviderEndpoint.cs" company="Andrew Arnott">
-// Copyright (c) Andrew Arnott. All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace DotNetOAuth {
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using DotNetOAuth.Messaging;
-
- /// <summary>
- /// A description of an individual endpoint on a Service Provider.
- /// </summary>
- public class ServiceProviderEndpoint {
- /// <summary>
- /// Initializes a new instance of the <see cref="ServiceProviderEndpoint"/> class.
- /// </summary>
- /// <param name="locationUri">The URL of this Service Provider endpoint.</param>
- /// <param name="method">The HTTP method(s) allowed.</param>
- public ServiceProviderEndpoint(string locationUri, HttpDeliveryMethod method)
- : this(new Uri(locationUri), method) { }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="ServiceProviderEndpoint"/> class.
- /// </summary>
- /// <param name="location">The URL of this Service Provider endpoint.</param>
- /// <param name="method">The HTTP method(s) allowed.</param>
- public ServiceProviderEndpoint(Uri location, HttpDeliveryMethod method) {
- if (location == null) {
- throw new ArgumentNullException("location");
- }
- if (method == HttpDeliveryMethod.None) {
- throw new ArgumentOutOfRangeException("method");
- }
-
- this.Location = location;
- this.AllowedMethods = method;
- }
-
- /// <summary>
- /// Gets or sets the URL of this Service Provider endpoint.
- /// </summary>
- public Uri Location { get; set; }
-
- /// <summary>
- /// Gets or sets the HTTP method(s) allowed.
- /// </summary>
- public HttpDeliveryMethod AllowedMethods { get; set; }
- }
-}
|