using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DotNetOAuth { /// /// Constants used in the OAuth protocol. /// /// /// OAuth Protocol Parameter names and values are case sensitive. Each OAuth Protocol Parameters MUST NOT appear more than once per request, and are REQUIRED unless otherwise noted, /// per OAuth 1.0 section 5. /// class Protocol { internal static readonly Protocol Default = V10; internal static readonly Protocol V10 = new Protocol { }; internal const string DataContractNamespace = "http://oauth.net/core/1.0/"; internal string ParameterPrefix = "oauth_"; /// /// Strings that identify the various message schemes. /// /// /// These strings should be checked with case INsensitivity. /// internal Dictionary MessageSchemes = new Dictionary { { MessageScheme.AuthorizationHeaderRequest, "OAuth" }, }; } }