Module Expr Str Expr Str Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr Str Str AugAssignAdd NameStore BinOpMult Str BinOpSub Num BinOpMod Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad
N/A N/A 
 Copyright 2013 Google Inc. All Rights Reserved.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

  N/A Provides methods to handle jwt decoder request. N/A webapp2 N/A os N/A base64 N/A logging N/A unicodedata N/A json google.appengine.ext.webapp template N/A NORMAL_FORM NFKD decodeJWTView N/A N/A request N/A N/A N/A Processes POST request and sends decoded JWT as pretty printed JSON object.

  Args:
    request: A HTTP request object.

  Returns:
    A pretty printed JSON object if valid jwt is present, returns a HTTP 404
    otherwise.
   N/A input_jwt N/A N/A N/A request POST get jwt None N/A N/A input_jwt N/A N/A N/A N/A webapp2 abort 404 N/A N/A N/A input_jwt N/A N/A N/A N/A unicodedata normalize NORMAL_FORM input_jwt encode ascii ignore N/A input_jwt N/A = N/A 4 N/A N/A len input_jwt 4 N/A decoded_jwt N/A N/A base64 urlsafe_b64decode input_jwt N/A N/A N/A JSONDecodeError N/A e N/A N/A result N/A error True N/A N/A N/A webapp2 abort 404 N/A N/A decoded_jwt N/A N/A json loads decoded_jwt N/A N/A N/A webapp2 Response N/A N/A json dumps decoded_jwt indent 8 N/A displayIndexView N/A N/A request N/A N/A N/A Serves the index page.

  Args:
    request: A HTTP request object.

  Returns:
    The index page.
   N/A path N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ index.html N/A template_values None N/A N/A N/A webapp2 Response N/A N/A template render path template_values N/A N/A application N/A N/A webapp2 WSGIApplication N/A N/A /decode/ decodeJWTView N/A / displayIndexView