Skip to content

Commit c4eafef

Browse files
committed
docs: fix links and cover missing topics
1 parent 4494564 commit c4eafef

24 files changed

+217
-88
lines changed

docs/api/errors/access-denied-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The resource owner or authorization server denied the request. See :rfc:`Section
66

77
::
88

9-
const AccessDeniedError = require('oauth2-server/lib/errors/access-denied-error');
9+
const AccessDeniedError = require('@node-oauth/oauth2-server/lib/errors/access-denied-error');
1010

1111
--------
1212

docs/api/errors/insufficient-scope-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The request requires higher privileges than provided by the access token. See :r
66

77
::
88

9-
const InsufficientScopeError = require('oauth2-server/lib/errors/insufficient-scope-error');
9+
const InsufficientScopeError = require('@node-oauth/oauth2-server/lib/errors/insufficient-scope-error');
1010

1111
--------
1212

docs/api/errors/invalid-argument-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ An invalid argument was encountered.
66

77
::
88

9-
const InvalidArgumentError = require('oauth2-server/lib/errors/invalid-argument-error');
9+
const InvalidArgumentError = require('@node-oauth/oauth2-server/lib/errors/invalid-argument-error');
1010

1111
.. note:: This error indicates that the module is used incorrectly (i.e., there is a programming error) and should never be seen because of external errors (like invalid data sent by a client).
1212

docs/api/errors/invalid-client-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Client authentication failed (e.g., unknown client, no client authentication inc
66

77
::
88

9-
const InvalidClientError = require('oauth2-server/lib/errors/invalid-client-error');
9+
const InvalidClientError = require('@node-oauth/oauth2-server/lib/errors/invalid-client-error');
1010

1111
--------
1212

docs/api/errors/invalid-grant-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The provided authorization grant (e.g., authorization code, resource owner crede
66

77
::
88

9-
const InvalidGrantError = require('oauth2-server/lib/errors/invalid-grant-error');
9+
const InvalidGrantError = require('@node-oauth/oauth2-server/lib/errors/invalid-grant-error');
1010

1111
--------
1212

docs/api/errors/invalid-request-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The request is missing a required parameter, includes an invalid parameter value
66

77
::
88

9-
const InvalidRequestError = require('oauth2-server/lib/errors/invalid-request-error');
9+
const InvalidRequestError = require('@node-oauth/oauth2-server/lib/errors/invalid-request-error');
1010

1111
--------
1212

docs/api/errors/invalid-scope-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The requested scope is invalid, unknown, or malformed. See :rfc:`Section 4.1.2.1
66

77
::
88

9-
const InvalidScopeError = require('oauth2-server/lib/errors/invalid-scope-error');
9+
const InvalidScopeError = require('@node-oauth/oauth2-server/lib/errors/invalid-scope-error');
1010

1111
--------
1212

docs/api/errors/invalid-token-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The access token provided is expired, revoked, malformed, or invalid for other r
66

77
::
88

9-
const InvalidTokenError = require('oauth2-server/lib/errors/invalid-token-error');
9+
const InvalidTokenError = require('@node-oauth/oauth2-server/lib/errors/invalid-token-error');
1010

1111
--------
1212

docs/api/errors/oauth-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Base class for all errors returned by this module.
66

77
::
88

9-
const OAuthError = require('oauth2-server/lib/errors/oauth-error');
9+
const OAuthError = require('@node-oauth/oauth2-server/lib/errors/oauth-error');
1010

1111
--------
1212

docs/api/errors/server-error.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The authorization server encountered an unexpected condition that prevented it f
66

77
::
88

9-
const ServerError = require('oauth2-server/lib/errors/server-error');
9+
const ServerError = require('@node-oauth/oauth2-server/lib/errors/server-error');
1010

1111
``ServerError`` is used to wrap unknown exceptions encountered during request processing.
1212

0 commit comments

Comments
 (0)