This file contains hidden or 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
| SAFARI 10.0.1 | |
| Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_1 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A403 Safari/602.1 | |
| CHROME on 10.0.1 | |
| Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_1 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.86 Mobile/14A403 Safari/601.1.46 | |
| FACEBOOK MESSENGER | |
| Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_1 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Mobile/14A403 [FBAN/MessengerForiOS;FBAV/87.0.0.24.69;FBBV/38293694;FBRV/0;FBDV/iPhone8,4;FBMD/iPhone;FBSN/iPhone OS;FBSV/10.0.1;FBSS/2;FBCR/AT&T;FBID/phone;FBLC/en_US;FBOP/5] | |
| TWITTER FOR IPHONE |
This file contains hidden or 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
| from typing import Any, Dict, List, Optional | |
| from OpenSSL import crypto | |
| import jwt | |
| from jwt.utils import base64url_decode | |
| import requests | |
| import logging | |
| ROOT_CER_URL = "https://www.apple.com/certificateauthority/AppleRootCA-G3.cer" | |
| G6_CER_URL = "https://www.apple.com/certificateauthority/AppleWWDRCAG6.cer" |
This file contains hidden or 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 uuid | |
| from datetime import datetime | |
| import boto3 | |
| from django.conf import settings | |
| from mypy_boto3_s3 import S3Client | |
| from rest_framework import serializers | |
| from rest_framework.response import Response | |
| from myproject.models import ProfilePhoto |
OlderNewer