puppeteer/new-docs/puppeteer.protocol.webauthn.credential.md

24 lines
1.4 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [WebAuthn](./puppeteer.protocol.webauthn.md) &gt; [Credential](./puppeteer.protocol.webauthn.credential.md)
## Protocol.WebAuthn.Credential interface
<b>Signature:</b>
```typescript
export interface Credential
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [credentialId](./puppeteer.protocol.webauthn.credential.credentialid.md) | string | |
| [isResidentCredential](./puppeteer.protocol.webauthn.credential.isresidentcredential.md) | boolean | |
| [privateKey](./puppeteer.protocol.webauthn.credential.privatekey.md) | string | The ECDSA P-256 private key in PKCS\#8 format. |
| [rpId](./puppeteer.protocol.webauthn.credential.rpid.md) | string | Relying Party ID the credential is scoped to. Must be set when adding a credential. |
| [signCount](./puppeteer.protocol.webauthn.credential.signcount.md) | [integer](./puppeteer.protocol.integer.md) | Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/\#signature-counter |
| [userHandle](./puppeteer.protocol.webauthn.credential.userhandle.md) | string | An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user. |