This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import time | |
import OpenSSL | |
from django.utils import simplejson | |
def _json_dumps(obj): | |
return simplejson.dumps(obj, separators=(',', ':')) | |
def _base64url(data): |