https://github.com/kami/mailytics-services
https://github.com/kami/mailytics-services
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kami/mailytics-services
- Owner: Kami
- Created: 2013-08-30T13:52:59.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-11-18T11:41:35.000Z (over 12 years ago)
- Last Synced: 2025-03-20T11:18:54.372Z (over 1 year ago)
- Language: Python
- Size: 266 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Token Storage
Service for storing and retrieving user tokens.
## Generating Dummy Certificates (for testing)
http://lakm.us/logit/2013/01/https-server-client-certificate-pair-1-generate-openssl/
## Testing with cURL
### Get refresh token
```bash
curl -vvv https://localhost:7878/accounts/user1/refresh_token --cert fixtures/client/certs/client1.crt --key fixtures/client/keys/client1.key --cacert fixtures/ca/myCA.crt
```
### Get access token
```bash
curl -vvv https://localhost:7878/accounts/user1/access_token --cert fixtures/client/certs/client1.crt --key fixtures/client/keys/client1.key --cacert fixtures/ca/myCA.crt
```