InvalidOAuthParametersException is thrown when a request is a
malformed OAuth request (for example, it omits a required parameter or
contains an invalid signature).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis system allows clients to access server resources on behalf of a resource owner.\u003c/p\u003e\n"],["\u003cp\u003eEnd-users can authorize third-party access to their server resources without sharing their credentials.\u003c/p\u003e\n"],["\u003cp\u003eThe OAuthService validates OAuth requests as defined in RFC 5849.\u003c/p\u003e\n"],["\u003cp\u003eSeveral exceptions are defined for handling malformed requests or issues with OAuth tokens, including \u003ccode\u003eInvalidOAuthParametersException\u003c/code\u003e, \u003ccode\u003eInvalidOAuthTokenException\u003c/code\u003e, \u003ccode\u003eOAuthRequestException\u003c/code\u003e, and \u003ccode\u003eOAuthServiceFailureException\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are several classes and interfaces, such as IOAuthServiceFactoryProvider, OAuthServiceFactory, IOAuthServiceFactory, and OAuthService, which are part of the framework.\u003c/p\u003e\n"]]],[],null,["# Package com.google.appengine.api.oauth (2.0.0)\n\nProvides a method for clients to access server resources on behalf of a resource owner, as well\nas a process for end-users to authorize third-party access to their server resources without\nsharing their credentials.\nSee Also: [com.google.appengine.api.oauth.OAuthService](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.OAuthService), [The OAuth Java API in the *Google App Engine Developer's Guide*](http://cloud.google.com/appengine/docs/java/oauth/).\n\nClasses\n-------\n\n### [IOAuthServiceFactoryProvider](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.IOAuthServiceFactoryProvider)\n\nFactory provider for [IOAuthServiceFactory](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.IOAuthServiceFactory).\n\n**Note:** This class is not intended for end users.\n\n### [OAuthServiceFactory](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.OAuthServiceFactory)\n\nCreates an OAuthService.\n\nInterfaces\n----------\n\n### [IOAuthServiceFactory](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.IOAuthServiceFactory)\n\nCreates an OAuthService.\n\n### [OAuthService](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.OAuthService)\n\nThe OAuthService provides methods useful for validating OAuth requests.\nSee Also: [RFC 5849](http://tools.ietf.org/html/rfc5849) for the OAuth specification.\n\nExceptions\n----------\n\n### [InvalidOAuthParametersException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.InvalidOAuthParametersException)\n\n`InvalidOAuthParametersException` is thrown when a request is a\nmalformed OAuth request (for example, it omits a required parameter or\ncontains an invalid signature).\n\n### [InvalidOAuthTokenException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.InvalidOAuthTokenException)\n\n`InvalidOAuthTokenException` is thrown when a request contains an\ninvalid OAuth token (for example, a token that has been revoked by the user).\n\n### [OAuthRequestException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.OAuthRequestException)\n\n`OAuthRequestException` is thrown when a request is not a valid OAuth\nrequest.\n\n### [OAuthServiceFailureException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.oauth.OAuthServiceFailureException)\n\n`OAuthServiceFailureException` is thrown when any unknown error occurs\nwhile communicating with the OAuth service."]]