mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
Deployed dca71bc to 7.x with MkDocs 1.5.3 and mike 2.0.0
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1679,6 +1679,12 @@ or by calling the relevant <a href="../account/json-api/#controlsaccountclientcr
|
||||
<p>Below is an example of how to call the API to generate such a token.</p>
|
||||
<p>The code below generates a token linked to your account and WebID.
|
||||
This only needs to be done once, afterwards this token can be used for all future requests.</p>
|
||||
<p>Before doing the step below,
|
||||
you already need to have an <a href="../account/json-api/#authorization">authorization value</a>
|
||||
that you get after logging in to your account.
|
||||
In the example below the cookie value is used.
|
||||
In the default server configurations,
|
||||
you can log in through the <a href="../account/json-api/#controlspasswordlogin">email/password API</a>.</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="c1">// This assumes your server is started under http://localhost:3000/.</span>
|
||||
<span class="c1">// It also assumes you have already logged in and `cookie` contains a valid cookie header</span>
|
||||
<span class="c1">// as described in the API documentation.</span>
|
||||
|
||||
Reference in New Issue
Block a user