// // disable StyleCop on this file //----------------------------------------------------------------------- // // Copyright (c) Andrew Arnott. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.OAuthWrap { using System; /// /// Protocol constants for OAuth WRAP. /// internal class Protocol { /// /// The default (latest) version of the OAuth WRAP protocol. /// internal static readonly Version DefaultVersion = V10; /// /// The initial (1.0) version of OAuth WRAP. /// internal static readonly Version V10 = new Version(1, 0); /// /// The HTTP authorization scheme "SimpleAPIAuth"; /// internal const string HttpAuthorizationScheme = "SimpleAPIAuth"; /// /// The "sa_consumer_state" string. /// internal const string sa_consumer_state = "sa_consumer_state"; /// /// The "sa_callback" string. /// internal const string sa_callback = "sa_callback"; /// /// The "sa_consumer_key" string. /// internal const string sa_consumer_key = "sa_consumer_key"; /// /// The "sa_consumer_secret" string. /// internal const string sa_consumer_secret = "sa_consumer_secret"; /// /// The "sa_delegation_code" string. /// internal const string sa_delegation_code = "sa_delegation_code"; /// /// The "sa_error_reason" string. /// internal const string sa_error_reason = "sa_error_reason"; /// /// The "user_denied" string. /// internal const string sa_error_reason_denied = "user_denied"; /// /// The "sa_token" string. /// internal const string sa_token = "sa_token"; /// /// The "sa_token_expires_in" string. /// internal const string sa_token_expires_in = "sa_token_expires_in"; /// /// The "expired_delegation_code" string. /// internal const string expired_delegation_code = "expired_delegation_code"; /// /// The "sa_username" string. /// internal const string sa_username = "sa_username"; /// /// The "sa_password" string. /// internal const string sa_password = "sa_password"; /// /// The "sa_name" string. /// internal const string sa_name = "sa_name"; /// /// The "sa_SAML" string. /// internal const string sa_saml = "sa_SAML"; /// /// The "sa_SWT" string. /// internal const string sa_swt = "sa_SWT"; } }