From 727cb49f233b82e28d17598332b05502ce953dce Mon Sep 17 00:00:00 2001 From: catherineheywood Date: Tue, 12 Apr 2016 16:35:10 +0100 Subject: [PATCH] Doc tweaks --- docs/index.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/index.md b/docs/index.md index d3aad7e66..2c6afc38e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -69,13 +69,14 @@ A JWT token contains, in encrypted format: Use the [GOV.UK Notify](https://www.notifications.service.gov.uk/) web application to find your service ID and create API keys. -See [authentication.py](https://github.com/alphagov/notifications-python-client/blob/master/notifications_python_client/authentication.py) in the GOV.UK Notify Python client library for sample code to encode and decode JWT tokens. - - **Important:** API keys are secret, so save them somewhere safe. Do not commit API keys to public source code repositories. +For examples of how to encode and decode JWT tokens, see [authentication.py](https://github.com/alphagov/notifications-python-client/blob/master/notifications_python_client/authentication.py) in the GOV.UK Notify Python client library. + + + JWT tokens ------------------------------------------ +------------ JWT tokens have a series of standard and application-specific claims. @@ -97,7 +98,7 @@ GOV.UK Notify application-specific claims: } ``` -GOV.UK Notify API tokens sign the: +The GOV.UK Notify API tokens sign the: * request being made * payload (for POST requests)