Skip to content

Commit 0a21723

Browse files
committed
Unify code example in index.rst
1 parent 0f7d0bf commit 0a21723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Example Usage
3737

3838
oauth.authenticate(request, response)
3939
.then((token) => {
40-
// Request is authorized.
40+
// The request was successfully authenticated.
4141
})
4242
.catch((err) => {
43-
// Request is not authorized or an error occured.
43+
// The request failed authentication.
4444
});
4545

4646
See the :doc:`/model/spec` of what is required from the model passed to :doc:`/api/oauth2-server`.

0 commit comments

Comments
 (0)