diff --git a/README.md b/README.md index 97c7806..cc25d2f 100644 --- a/README.md +++ b/README.md @@ -84,9 +84,47 @@ After having run the localauth0 machine a web interface is available at } ``` -- `GET` : used to get a the list +- `GET` : used to get the list of all permissions for the given audience. +- `GET` : used to get the + list of custom claims that will be injected in the JWT payload. + +- `POST` : used to add or update + one or more custom claim fields. Body should be: + + ```json + { + "custom_claims": [{ + "name": "custom_claim_field_name", + "value": "custom claim field value. Can be a string or a list of strings" + }] + } + ``` + +- `GET` : used to get the user info. + +- `POST` : used to update the user info. + Body should be: + + ```json + { + "subject": "optional field", + "name": "optional field", + "given_name": "optional field", + "family_name": "optional field", + "nickname": "optional field", + "locale": "optional field", + "gender": "optional field", + "birthdate": "optional field", + "email": "optional field", + "email_verified": "optional field", + "picture": "optional field", + "updated_at": "optional field", + "custom_fields": "optional field" + } + ``` + ### Jwks - `GET` : it's possible to fetch