mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(new): migrate SecurityDetails docs to TSDoc (#6053)
This commit is contained in:
@@ -22,7 +22,7 @@ snapshot(options?: SnapshotOptions): Promise<SerializedAXNode>;
|
||||
|
||||
Promise<[SerializedAXNode](./puppeteer.serializedaxnode.md)<!-- -->>
|
||||
|
||||
An AXNode object represeting the snapshot.
|
||||
An AXNode object representing the snapshot.
|
||||
|
||||
## Remarks
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
| [Mouse](./puppeteer.mouse.md) | |
|
||||
| [Page](./puppeteer.page.md) | Page provides methods to interact with a single tab or \[extension background page\](https://developer.chrome.com/extensions/background\_pages) in Chromium. One \[Browser\] instance might have multiple \[Page\] instances. |
|
||||
| [Puppeteer](./puppeteer.puppeteer.md) | The main Puppeteer class |
|
||||
| [SecurityDetails](./puppeteer.securitydetails.md) | |
|
||||
| [SecurityDetails](./puppeteer.securitydetails.md) | The SecurityDetails class represents the security details of a response that was received over a secure connection. |
|
||||
| [Target](./puppeteer.target.md) | |
|
||||
| [TimeoutError](./puppeteer.timeouterror.md) | |
|
||||
| [Touchscreen](./puppeteer.touchscreen.md) | |
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [SecurityDetails](./puppeteer.securitydetails.md) > [(constructor)](./puppeteer.securitydetails._constructor_.md)
|
||||
|
||||
## SecurityDetails.(constructor)
|
||||
|
||||
Constructs a new instance of the `SecurityDetails` class
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
constructor(securityPayload: Protocol.Network.SecurityDetails);
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| securityPayload | Protocol.Network.SecurityDetails | |
|
||||
|
||||
@@ -13,3 +13,5 @@ issuer(): string;
|
||||
|
||||
string
|
||||
|
||||
The name of the issuer of the certificate.
|
||||
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
|
||||
## SecurityDetails class
|
||||
|
||||
The SecurityDetails class represents the security details of a response that was received over a secure connection.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export declare class SecurityDetails
|
||||
```
|
||||
|
||||
## Constructors
|
||||
## Remarks
|
||||
|
||||
| Constructor | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [(constructor)(securityPayload)](./puppeteer.securitydetails._constructor_.md) | | Constructs a new instance of the <code>SecurityDetails</code> class |
|
||||
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `SecurityDetails` class.
|
||||
|
||||
## Methods
|
||||
|
||||
|
||||
@@ -13,3 +13,5 @@ protocol(): string;
|
||||
|
||||
string
|
||||
|
||||
The security protocol being used, e.g. "TLS 1.2".
|
||||
|
||||
|
||||
@@ -13,3 +13,5 @@ subjectAlternativeNames(): string[];
|
||||
|
||||
string\[\]
|
||||
|
||||
The list of [subject alternative names (SANs)](https://en.wikipedia.org/wiki/Subject_Alternative_Name) of the certificate.
|
||||
|
||||
|
||||
@@ -13,3 +13,5 @@ subjectName(): string;
|
||||
|
||||
string
|
||||
|
||||
The name of the subject to which the certificate was issued.
|
||||
|
||||
|
||||
@@ -13,3 +13,5 @@ validFrom(): number;
|
||||
|
||||
number
|
||||
|
||||
[Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) marking the start of the certificate's validity.
|
||||
|
||||
|
||||
@@ -13,3 +13,5 @@ validTo(): number;
|
||||
|
||||
number
|
||||
|
||||
[Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) marking the end of the certificate's validity.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user