type · Browser and Node

# WebAuthnGet

`navigator.credentials.get`, or a stand-in for tests.

`@toip-tools/cose` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/cose/src/signers.ts#L69)

Import:

```ts
import { type WebAuthnGet } from "@toip-tools/cose";
```

## Declaration

type:

```ts
type WebAuthnGet = (options: CredentialRequestOptions) => Promise<
  { response: { authenticatorData: ArrayBuffer; clientDataJSON: ArrayBuffer; signature: ArrayBuffer } } | Credential | null
>;
```

[Usage guide](https://toip.tools/toolkit/cose/#usage) · [Error handling](https://toip.tools/toolkit/cose/#errors) · [All exports](https://toip.tools/toolkit/cose/api/)

---

This is the Markdown version of https://toip.tools/toolkit/cose/api/WebAuthnGet/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
