Skip to content

Commit 57d2b1a

Browse files
committed
docs: rebuild
1 parent 3da4fa4 commit 57d2b1a

File tree

4 files changed

+36
-12
lines changed

4 files changed

+36
-12
lines changed

docs/ExpressOAuthServer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ExpressOA
891891
<br class="clear">
892892

893893
<footer>
894-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Jan 09 2024 09:13:55 GMT+0100 (Central European Standard Time)
894+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Wed Jul 31 2024 15:05:40 GMT+0200 (Central European Summer Time)
895895
</footer>
896896

897897
<script> prettyPrint(); </script>

docs/global.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ExpressOA
182182
<br class="clear">
183183

184184
<footer>
185-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Jan 09 2024 09:13:55 GMT+0100 (Central European Standard Time)
185+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Wed Jul 31 2024 15:05:40 GMT+0200 (Central European Summer Time)
186186
</footer>
187187

188188
<script> prettyPrint(); </script>

docs/index.html

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,32 @@ <h3> </h3>
4343

4444

4545
<section>
46-
<article><h1>Express OAuth Server</h1>
47-
<p>Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with <a href="https://github.com/expressjs/express">express</a> in <a href="http://nodejs.org/">node.js</a>.</p>
46+
<article><div align="center">
47+
<h1>Express OAuth Server</h1>
48+
</div>
49+
<p align="center">
50+
Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with <a alt="express" href="https://github.com/expressjs/express">express</a> in <a alt="node.js" href="http://nodejs.org/">Node.js</a>.
51+
</p>
52+
<div align="center">
4853
<p><a href="https://github.com/node-oauth/express-oauth-server/actions/workflows/tests.yml"><img src="https://github.com/node-oauth/express-oauth-server/actions/workflows/tests.yml/badge.svg" alt="Tests"></a>
4954
<a href="https://github.com/node-oauth/express-oauth-server/actions/workflows/github-code-scanning/codeql"><img src="https://github.com/node-oauth/express-oauth-server/actions/workflows/github-code-scanning/codeql/badge.svg" alt="CodeQL"></a>
5055
<a href="https://www.repostatus.org/#active"><img src="https://www.repostatus.org/badges/latest/active.svg" alt="Project Status: Active – The project has reached a stable, usable state and is being actively developed."></a>
5156
<a href="https://www.npmjs.com/package/@node-oauth/oauth2-server"><img src="https://img.shields.io/npm/v/@node-oauth/express-oauth-server?label=version" alt="npm Version"></a>
5257
<a href="https://www.npmjs.com/package/@node-oauth/oauth2-server"><img src="https://img.shields.io/npm/dw/@node-oauth/express-oauth-server" alt="npm Downloads/Week"></a>
5358
<img src="https://img.shields.io/github/license/node-oauth/express-oauth-server" alt="GitHub"></p>
54-
<p>This is the express wrapper for <a href="https://github.com/node-oauth/node-oauth2-server">@node-oauth/oauth2-server</a>,
55-
it's a fork from the former <a href="https://github.com/oauthjs/express-oauth-server">oauthjs/express-oauth-server</a>.</p>
59+
</div>
60+
<div align="center">
61+
<p><a href="https://node-oauth.github.io/express-oauth-server/">API Docs</a>
62+
·
63+
<a href="https://www.npmjs.com/package/@node-oauth/express-oauth-server">NPM Link</a>
64+
·
65+
<a href="https://github.com/node-oauth/node-oauth2-server">Node OAuth2 Server</a></p>
66+
</div>
67+
<h2>About</h2>
68+
<p>This package wraps the <a href="https://github.com/node-oauth/node-oauth2-server">@node-oauth/oauth2-server</a> into an
69+
express compatible middleware.
70+
It's a maintained and up-to-date fork from the former
71+
<a href="https://github.com/oauthjs/express-oauth-server">oauthjs/express-oauth-server</a>.</p>
5672
<h2>Installation</h2>
5773
<pre class="prettyprint source lang-shell"><code>$ npm install @node-oauth/express-oauth-server
5874
</code></pre>
@@ -81,9 +97,6 @@ <h2>Quick Start</h2>
8197

8298
app.listen(3000);
8399
</code></pre>
84-
<h2>More Examples</h2>
85-
<p>For more examples, please visit <a href="https://github.com/node-oauth/node-oauth2-server-examples">our dedicated &quot;examples&quot; repo</a>
86-
, which also contains express examples.</p>
87100
<h2>Options</h2>
88101
<blockquote>
89102
<p>Note: The following options <strong>extend</strong> the default options from <code>@node-oauth/oauth2-sever</code>!
@@ -112,8 +125,19 @@ <h2>Options</h2>
112125
<p><code>authenticate()</code> does not modify the response and will always call next()</p>
113126
</li>
114127
</ul>
128+
<h2>Migration notes</h2>
129+
<p>Beginning with <strong>version 4.0</strong> this package brings some potentially breaking changes:</p>
130+
<ul>
131+
<li>dropped old es5 code; moved to native async/await</li>
132+
<li>requires node &gt;= 16</li>
133+
<li>ships with <a href="https://github.com/node-oauth/node-oauth2-server">@node-oauth/oauth2-server</a> 5.x</li>
134+
<li>no express version pinned but declared as <code>'*'</code> peer dependency, so it should not cause conflicts with your express version</li>
135+
</ul>
136+
<h2>More Examples</h2>
137+
<p>For more examples, please visit <a href="https://github.com/node-oauth/node-oauth2-server-examples">our dedicated &quot;examples&quot; repo</a>
138+
, which also contains express examples.</p>
115139
<h2>License</h2>
116-
<p>MIT, see</p></article>
140+
<p>MIT, see <a href="./LICENSE">license file</a>.</p></article>
117141
</section>
118142

119143

@@ -130,7 +154,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ExpressOA
130154
<br class="clear">
131155

132156
<footer>
133-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Jan 09 2024 09:13:55 GMT+0100 (Central European Standard Time)
157+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Wed Jul 31 2024 15:05:40 GMT+0200 (Central European Summer Time)
134158
</footer>
135159

136160
<script> prettyPrint(); </script>

docs/index.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ExpressOA
252252
<br class="clear">
253253

254254
<footer>
255-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Jan 09 2024 09:13:55 GMT+0100 (Central European Standard Time)
255+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Wed Jul 31 2024 15:05:40 GMT+0200 (Central European Summer Time)
256256
</footer>
257257

258258
<script> prettyPrint(); </script>

0 commit comments

Comments
 (0)