//----------------------------------------------------------------------- // // Copyright (c) Andrew Arnott. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOAuth.Messaging { using System; /// /// The methods available for the Consumer to send direct messages to the Service Provider. /// /// /// See 1.0 spec section 5.2. /// [Flags] public enum HttpDeliveryMethod { /// /// No HTTP methods are allowed. /// None = 0x0, /// /// In the HTTP Authorization header as defined in OAuth HTTP Authorization Scheme (OAuth HTTP Authorization Scheme). /// AuthorizationHeaderRequest = 0x1, /// /// As the HTTP POST request body with a content-type of application/x-www-form-urlencoded. /// PostRequest = 0x2, /// /// Added to the URLs in the query part (as defined by [RFC3986] (Berners-Lee, T., “Uniform Resource Identifiers (URI): Generic Syntax,” .) section 3). /// GetRequest = 0x4, /// /// All HTTP requests are acceptable. /// All = AuthorizationHeaderRequest | PostRequest | GetRequest, } }