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.
  • Loading branch information
tniessen committed Apr 9, 2022
1 parent 3c75264 commit 455358e
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 455358e

Please sign in to comment.