diff options
author | Tobias Nießen <tniessen@tnie.de> | 2022-04-10 02:42:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-10 01:42:57 +0100 |
commit | a0461255c05c79cf6c78b967cf8f11167a5d06b4 (patch) | |
tree | e6ee6eb5e9f9e85139eda00f4dca13b8841c7eda | |
parent | 3ac7f86c2bbd50ebcebb323c3b545f35b1350ebc (diff) | |
download | node-new-a0461255c05c79cf6c78b967cf8f11167a5d06b4.tar.gz |
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>
-rw-r--r-- | doc/api/tls.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md index 09f54188a5..6a719f15bc 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()` |