Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 6, 2023
1 parent 33daeb9 commit 8f4e658
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 21 deletions.
Binary file modified WIA-request-and-response-details/en/.doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,13 @@ To obtain the Wallet Instance Attestation it is necessary
to make a `POST <https://datatracker.ietf.org/doc/html/rfc6749#section-3.2>`__
request to the Wallet Solution `token endpoint`_.

The **token** endpoint (as defined in `RFC 7523 section 4`_) requires two parameters as input, in HTTP Post method:

``grant_type`` which in our case is a string:
``urn:ietf:params:oauth:grant-type:jwt-bearer``

``assertion`` which contains the signed JWT of the `Wallet Instance Attestation Request`_

Below a non-normative example of the request.

.. code-block:: http
Expand All @@ -350,9 +357,6 @@ Below a non-normative example of the request.
grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer
&assertion=eyJhbGciOiJFUzI1NiIsImtpZCI6InZiZVhKa3NNNDV4cGh0QU5uQ2lHNm1DeXVVNGpmR056b3BHdUt2b2dnOWMiLCJ0eXAiOiJ2YXIrand0In0.eyJpc3MiOiJ2YmVYSmtzTTQ1eHBodEFObkNpRzZtQ3l1VTRqZkdOem9wR3VLdm9nZzljIiwiYXVkIjoiaHR0cHM6Ly93YWxsZXQtcHJvdmlkZXIuZXhhbXBsZS5vcmciLCJqdGkiOiJmNTY1MjA3Mi1hYmVmLTQ1OTktYjg2My05YTY5MDYwNzMyY2MiLCJ0eXBlIjoiV2FsbGV0SW5zdGFuY2VBdHRlc3RhdGlvblJlcXVlc3QiLCJub25jZSI6Ii4uLi4uIiwiY25mIjp7Imp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IjRITnB0SS14cjJwanlSSktHTW56NFdtZG5RRF91SlNxNFI5NU5qOThiNDQiLCJ5IjoiTElablNCMzl2RkpoWWdTM2s3alhFNHIzLUNvR0ZRd1p0UEJJUnFwTmxyZyIsImtpZCI6InZiZVhKa3NNNDV4cGh0QU5uQ2lHNm1DeXVVNGpmR056b3BHdUt2b2dnOWMifX0sImlhdCI6MTY5MTQ4ODk2MiwiZXhwIjoxNjkxNDk2MTYyfQ.Azg8zBzjCB2ms9XHVDCzP92kh3XcVR6dD4Z_aFZslBO-6i3xwGwDsk4W8uESr-ba84wXgyIzn_vKX3exVFfO6g
the assertion parameter is used as an authentication parameter
of the Wallet Instance and is the `Wallet Instance Attestation Request`_

The response is the `Wallet Instance Attestation`_ JWT in plain text:

.. code-block:: http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,7 @@ Below a non-normative example of the Entity Configuration.
Wallet Instance Attestation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The **token** endpoint (as defined in `RFC 7523 section 4`_) requires two parameters as input, in HTTP Post method:

``grant_type`` which in our case is a string:
``urn:ietf:params:oauth:grant-type:jwt-bearer``

``assertion`` which contains the signed JWT of the Wallet Instance Attestation
Request.

The response will then contain the Wallet Instance Attestation.
Please refer to the `Wallet Instance Attestation section`_


External references
Expand Down
2 changes: 1 addition & 1 deletion WIA-request-and-response-details/en/searchindex.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1554,6 +1554,10 @@ <h3>Obtain a Wallet Instance Attestation<a class="headerlink" href="#obtain-a-wa
<p>To obtain the Wallet Instance Attestation it is necessary
to make a <a class="reference external" href="https://datatracker.ietf.org/doc/html/rfc6749#section-3.2">POST</a>
request to the Wallet Solution <a class="reference external" href="wallet-solution.html#wallet-instance-attestation">token endpoint</a>.</p>
<p>The <strong>token</strong> endpoint (as defined in <a href="#id4"><span class="problematic" id="id5">`RFC 7523 section 4`_</span></a>) requires two parameters as input, in HTTP Post method:</p>
<p><code class="docutils literal notranslate"><span class="pre">grant_type</span></code> which in our case is a string:
<code class="docutils literal notranslate"><span class="pre">urn:ietf:params:oauth:grant-type:jwt-bearer</span></code></p>
<p><code class="docutils literal notranslate"><span class="pre">assertion</span></code> which contains the signed JWT of the <a class="reference external" href="wallet-instance-attestation.html#format-of-the-wallet-instance-attestation-request">Wallet Instance Attestation Request</a></p>
<p>Below a non-normative example of the request.</p>
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/token</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="o">:</span> <span class="l">wallet-provider.example.org</span>
Expand All @@ -1563,8 +1567,6 @@ <h3>Obtain a Wallet Instance Attestation<a class="headerlink" href="#obtain-a-wa
&amp;assertion=eyJhbGciOiJFUzI1NiIsImtpZCI6InZiZVhKa3NNNDV4cGh0QU5uQ2lHNm1DeXVVNGpmR056b3BHdUt2b2dnOWMiLCJ0eXAiOiJ2YXIrand0In0.eyJpc3MiOiJ2YmVYSmtzTTQ1eHBodEFObkNpRzZtQ3l1VTRqZkdOem9wR3VLdm9nZzljIiwiYXVkIjoiaHR0cHM6Ly93YWxsZXQtcHJvdmlkZXIuZXhhbXBsZS5vcmciLCJqdGkiOiJmNTY1MjA3Mi1hYmVmLTQ1OTktYjg2My05YTY5MDYwNzMyY2MiLCJ0eXBlIjoiV2FsbGV0SW5zdGFuY2VBdHRlc3RhdGlvblJlcXVlc3QiLCJub25jZSI6Ii4uLi4uIiwiY25mIjp7Imp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6IjRITnB0SS14cjJwanlSSktHTW56NFdtZG5RRF91SlNxNFI5NU5qOThiNDQiLCJ5IjoiTElablNCMzl2RkpoWWdTM2s3alhFNHIzLUNvR0ZRd1p0UEJJUnFwTmxyZyIsImtpZCI6InZiZVhKa3NNNDV4cGh0QU5uQ2lHNm1DeXVVNGpmR056b3BHdUt2b2dnOWMifX0sImlhdCI6MTY5MTQ4ODk2MiwiZXhwIjoxNjkxNDk2MTYyfQ.Azg8zBzjCB2ms9XHVDCzP92kh3XcVR6dD4Z_aFZslBO-6i3xwGwDsk4W8uESr-ba84wXgyIzn_vKX3exVFfO6g
</pre></div>
</div>
<p>the assertion parameter is used as an authentication parameter
of the Wallet Instance and is the <a class="reference external" href="wallet-instance-attestation.html#format-of-the-wallet-instance-attestation-request">Wallet Instance Attestation Request</a></p>
<p>The response is the <a class="reference external" href="wallet-instance-attestation.html#format-of-the-wallet-instance-attestation">Wallet Instance Attestation</a> JWT in plain text:</p>
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">201</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/entity-statement+jwt</span>
Expand Down
7 changes: 1 addition & 6 deletions WIA-request-and-response-details/en/wallet-solution.html
Original file line number Diff line number Diff line change
Expand Up @@ -1300,12 +1300,7 @@ <h3>Payload <cite>federation_entity</cite><a class="headerlink" href="#payload-f
</section>
<section id="wallet-instance-attestation">
<h3>Wallet Instance Attestation<a class="headerlink" href="#wallet-instance-attestation" title="Permalink to this heading"></a></h3>
<p>The <strong>token</strong> endpoint (as defined in <a class="reference external" href="https://www.rfc-editor.org/rfc/rfc7523.html#section-4">RFC 7523 section 4</a>) requires two parameters as input, in HTTP Post method:</p>
<p><code class="docutils literal notranslate"><span class="pre">grant_type</span></code> which in our case is a string:
<code class="docutils literal notranslate"><span class="pre">urn:ietf:params:oauth:grant-type:jwt-bearer</span></code></p>
<p><code class="docutils literal notranslate"><span class="pre">assertion</span></code> which contains the signed JWT of the Wallet Instance Attestation
Request.</p>
<p>The response will then contain the Wallet Instance Attestation.</p>
<p>Please refer to the <a class="reference external" href="wallet-instance-attestation.html">Wallet Instance Attestation section</a></p>
</section>
</section>
<section id="external-references">
Expand Down
Binary file modified WIA-request-and-response-details/it/.doctrees/environment.pickle
Binary file not shown.

0 comments on commit 8f4e658

Please sign in to comment.