diff --git a/CH-IUA-Simulator/user.md b/CH-IUA-Simulator/user.md index 0f7bf39cd7c3089b01d3d6f584bc0c5af0520f37..10ef99453a244a5ea6ee0bedce7bb96edeccd1dd 100644 --- a/CH-IUA-Simulator/user.md +++ b/CH-IUA-Simulator/user.md @@ -32,6 +32,7 @@ The ITI-71 transaction is sent by the Authorization Client to the Authorization Two ways can be used to resolve this transaction, but the one used by this simulator is the Authorization Code grant type. The request must be sent to the /authorize endpoint, which look like this + ``` http {$simulator.endpoint}/iua-simulator/rest/ch/authorize? ``` @@ -81,6 +82,7 @@ Those arguments must therefore be contained in a body as an *application/x-www-f Finally both *client_id* and *client_secret* must be encapsulated in the base HTTP Authorization header. This means the request should like something like this : + ``` http HTTP POST {$simulator.endpoint}/iua-simulator/rest/ch/token HTTP 1.1 Authorization: Basic vsdvZRTYHQS51SgvtsqeGFs62 @@ -113,6 +115,7 @@ The ITI-71 transaction is sent by the Authorization Client to the Authorization Two ways can be used to resolve this transaction, but the one used by this simulator is the Authorization Code grant type. The request must be sent to the /authorize endpoint, which look like this + ``` http {$simulator.endpoint}/iua-simulator/rest/ch/authorize? ``` @@ -166,6 +169,7 @@ The scope request inside this request shall only contain permitted arguments : Following this request, you will receive an Authorization Code in a JSON formatted response. Using the Authorization client, you will then need to do a second Request to the following URL: + ``` http {$simulator.endpoint}/iua-simulator/rest/ch/token? ``` @@ -184,6 +188,7 @@ Those arguments must therefore be contained in a body as an *application/x-www-f Finally both *client_id* and *client_secret* must be encapsulated in the base HTTP Authorization header. This means the request should like something like this : + ``` http HTTP POST {$simulator.endpoint}/iua-simulator/rest/ch/token HTTP 1.1 Authorization: Basic vsdvZRTYHQS51SgvtsqeGFs62