Google GAuth

Google GAuth

Scheme: gauth
Syntax: gauth:name
Description: The gauth component is used by web applications to implement a Google-specific OAuth consumer.
Deprecated:false
Maven: org.apache.camel/camel-gae/2.17.0.redhat-630262

The gauth component is used by web applications to implement a Google-specific OAuth consumer. Represents a GAuth Endpoint. Instances can have one of two names, either authorize for requesting an unauthorized request token or upgrade for upgrading an authorized request token to an access token. The corresponding endpoint URIs are gauth:authorize and gauth:upgrade , respectively.

Name Kind Group Required Default Type Enum Description
name path producer true org.apache.camel.component.gae.auth.GAuthEndpoint.Name Returns the endpoint name.
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
callback parameter producer java.lang.String Returns the value of callback query parameter in the gauth:authorize endpoint URI.
consumerKey parameter producer java.lang.String Sets the consumer key. This key is generated when a web application is registered at Google. @param consumerKey consumer key to set.
consumerSecret parameter producer java.lang.String Sets the consumer secret. This secret is generated when a web application is registered at Google. Only set the consumer secret if the HMAC-SHA1 signature method shall be used.
scope parameter producer java.lang.String Returns the value of the scope query parameter in gauth:authorize endpoint URI. This can be a single scope or a comma-separated list of scopes.
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).