def _decode(data):
    data += "=" * (len(data) % 4)
    return b64decode(data.encode('utf-8'))
Decodes the Facebook signed_request parts
dataset/ETHPy150Open demianbrecht/flask-canvas/flask_canvas.py/_decode