Skip to content

Commit

Permalink
doc: mark tlsSocket.authorized as boolean property
Browse files Browse the repository at this point in the history
This is not a function and should not have a return type.

PR-URL: #42647
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
  • Loading branch information
tniessen authored and danielleadams committed Jun 26, 2022
1 parent bec3c75 commit 069cd16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`

Expand Down

0 comments on commit 069cd16

Please sign in to comment.