An open API service indexing awesome lists of open source software.

https://github.com/kami/mailytics-services


https://github.com/kami/mailytics-services

Last synced: 2 months ago
JSON representation

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
```