Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2022-04-10 03:42:57 +0300
committerGitHub <noreply@github.com>2022-04-10 03:42:57 +0300
commita0461255c05c79cf6c78b967cf8f11167a5d06b4 (patch)
treee6ee6eb5e9f9e85139eda00f4dca13b8841c7eda /doc
parent3ac7f86c2bbd50ebcebb323c3b545f35b1350ebc (diff)
doc: mark tlsSocket.authorized as boolean property
This is not a function and should not have a return type. PR-URL: https://github.com/nodejs/node/pull/42647 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/tls.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index 09f54188a54..6a719f15bc2 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -978,10 +978,10 @@ property is set only when `tlsSocket.authorized === false`.
added: v0.11.4
-->
-* Returns: {boolean}
+* {boolean}
-Returns `true` if the peer certificate was signed by one of the CAs specified
-when creating the `tls.TLSSocket` instance, otherwise `false`.
+This property is `true` if the peer certificate was signed by one of the CAs
+specified when creating the `tls.TLSSocket` instance, otherwise `false`.
### `tlsSocket.disableRenegotiation()`