All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.oauth.ParameterStyle Maven / Gradle / Ivy

package net.oauth;

/**
 * Where to place OAuth parameters in an HTTP message. The alternatives are
 * summarized in OAuth Core
 * under Consumer
 * Request Parameters.
 */
public enum ParameterStyle {
    /**
     * Send parameters whose names begin with "oauth_" in an HTTP header, and
     * other parameters (whose names don't begin with "oauth_") in either the
     * message body or URL query string. The header formats are specified by
     * OAuth Core under OAuth
     * HTTP Authorization Scheme.
     */
    AUTHORIZATION_HEADER,

    /**
     * Send all parameters in the message body, with a Content-Type of
     * application/x-www-form-urlencoded.
     */
    BODY,

    /** Send all parameters in the query string part of the URL. */
    QUERY_STRING;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy