LocalOAuthAuthorizeTokenServlet
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- HttpServlet
-
- com.google.appengine.api.users.dev.LocalOAuthAuthorizeTokenServlet
-
public class LocalOAuthAuthorizeTokenServlet
extends HttpServlet
LocalOAuthAuthorizeTokenServlet
is the servlet responsible for
implementing the token authorization step of the fake OAuth authentication
flow provided by the Development AppServer.
This serlvet will redirect to the URL specified in the 'oauth_callback'
parameter after access is granted. It does not currently support callback
URLs provided during the request token acquisition step.
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LocalOAuthAuthorizeTokenServlet
public LocalOAuthAuthorizeTokenServlet()
-
Method Detail
-
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws java.io.IOException
- Throws:
java.io.IOException
-
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws java.io.IOException
- Throws:
java.io.IOException
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-15 UTC.
[[["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 2024-02-15 UTC."],[[["`LocalOAuthAuthorizeTokenServlet` is a servlet within the Google App Engine API, specifically for development, handling token authorization in a simulated OAuth flow."],["This servlet redirects to the URL specified by the 'oauth_callback' parameter upon granting access, but it does not support request token callback URLs."],["The servlet provides two primary methods, `doGet` and `doPost`, which handle HTTP GET and POST requests, respectively, and may throw an `java.io.IOException`."],["The `LocalOAuthAuthorizeTokenServlet()` constructor is used to instantiate this servlet."]]],[]]