Skip to content

Commit 5530d3f

Browse files
tniessenjuanarbol
authored andcommitted
doc: mark tlsSocket.authorized as boolean property
This is not a function and should not have a return type. PR-URL: #42647 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 9e39a84 commit 5530d3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/tls.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -978,10 +978,10 @@ property is set only when `tlsSocket.authorized === false`.
978978
added: v0.11.4
979979
-->
980980

981-
* Returns: {boolean}
981+
* {boolean}
982982

983-
Returns `true` if the peer certificate was signed by one of the CAs specified
984-
when creating the `tls.TLSSocket` instance, otherwise `false`.
983+
This property is `true` if the peer certificate was signed by one of the CAs
984+
specified when creating the `tls.TLSSocket` instance, otherwise `false`.
985985

986986
### `tlsSocket.disableRenegotiation()`
987987

0 commit comments

Comments
 (0)