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
// | |
// SamView.swift | |
// CloudKit-UI-test | |
// | |
// Created by Jordi Bruin on 03/07/2020. | |
// Copyright © 2020 Good Snooze. All rights reserved. | |
// | |
import SwiftUI |
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
# setup | |
# pip install cryptography pyjwt | |
# ref. | |
# http://gobiko.com/blog/token-based-authentication-http2-example-apns/ | |
import jwt | |
import time | |
ALGORITHM = 'ES256' |
NewerOlder