@capgo/capacitor-passkey 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapgoCapacitorPasskey.podspec +17 -0
- package/LICENSE +373 -0
- package/Package.swift +28 -0
- package/README.md +692 -0
- package/android/build.gradle +61 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/app/capgo/passkey/CapacitorPasskey.java +21 -0
- package/android/src/main/java/app/capgo/passkey/CapacitorPasskeyPlugin.java +299 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +1034 -0
- package/dist/esm/definitions.d.ts +531 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +87 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/internal.d.ts +14 -0
- package/dist/esm/internal.js +2 -0
- package/dist/esm/internal.js.map +1 -0
- package/dist/esm/shim.d.ts +8 -0
- package/dist/esm/shim.js +108 -0
- package/dist/esm/shim.js.map +1 -0
- package/dist/esm/web.d.ts +12 -0
- package/dist/esm/web.js +69 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/esm/webauthn.d.ts +23 -0
- package/dist/esm/webauthn.js +440 -0
- package/dist/esm/webauthn.js.map +1 -0
- package/dist/plugin.cjs.js +707 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +710 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Sources/CapacitorPasskeyPlugin/CapacitorPasskey.swift +39 -0
- package/ios/Sources/CapacitorPasskeyPlugin/CapacitorPasskeyPlugin.swift +388 -0
- package/ios/Tests/CapacitorPasskeyPluginTests/CapacitorPasskeyPluginTests.swift +17 -0
- package/package.json +105 -0
- package/scripts/configure-native.js +263 -0
package/dist/docs.json
ADDED
|
@@ -0,0 +1,1034 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "CapacitorPasskeyPlugin",
|
|
4
|
+
"slug": "capacitorpasskeyplugin",
|
|
5
|
+
"docs": "Capacitor Passkey plugin.\n\nUse `autoShimWebAuthn()` or import `@capgo/capacitor-passkey/auto`\nto keep existing `navigator.credentials.create/get` code working\ninside a Capacitor app.",
|
|
6
|
+
"tags": [
|
|
7
|
+
{
|
|
8
|
+
"text": "1.0.0",
|
|
9
|
+
"name": "since"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"methods": [
|
|
13
|
+
{
|
|
14
|
+
"name": "shimWebAuthn",
|
|
15
|
+
"signature": "(options?: ShimWebAuthnOptions | undefined) => void",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "options",
|
|
19
|
+
"docs": "",
|
|
20
|
+
"type": "ShimWebAuthnOptions | undefined"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"returns": "void",
|
|
24
|
+
"tags": [
|
|
25
|
+
{
|
|
26
|
+
"name": "since",
|
|
27
|
+
"text": "1.0.0"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "example",
|
|
31
|
+
"text": "```typescript\nimport { CapacitorPasskey } from '@capgo/capacitor-passkey';\n\nCapacitorPasskey.shimWebAuthn({\n origin: 'https://signin.example.com',\n});\n```"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"docs": "Install a browser-style WebAuthn shim on top of the native plugin.\n\nThe shim patches `navigator.credentials.create/get` for `publicKey`\nrequests and returns browser-like credential objects.\n\nUse this when you want to override the auto-loaded config manually.",
|
|
35
|
+
"complexTypes": [
|
|
36
|
+
"ShimWebAuthnOptions"
|
|
37
|
+
],
|
|
38
|
+
"slug": "shimwebauthn"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "getConfiguration",
|
|
42
|
+
"signature": "() => Promise<PasskeyRuntimeConfiguration>",
|
|
43
|
+
"parameters": [],
|
|
44
|
+
"returns": "Promise<PasskeyRuntimeConfiguration>",
|
|
45
|
+
"tags": [
|
|
46
|
+
{
|
|
47
|
+
"name": "since",
|
|
48
|
+
"text": "1.1.0"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"docs": "Load plugin configuration from the host Capacitor app.\n\nThis reads `plugins.CapacitorPasskey` from `capacitor.config.*`.",
|
|
52
|
+
"complexTypes": [
|
|
53
|
+
"PasskeyRuntimeConfiguration"
|
|
54
|
+
],
|
|
55
|
+
"slug": "getconfiguration"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "autoShimWebAuthn",
|
|
59
|
+
"signature": "(options?: ShimWebAuthnOptions | undefined) => Promise<PasskeyRuntimeConfiguration>",
|
|
60
|
+
"parameters": [
|
|
61
|
+
{
|
|
62
|
+
"name": "options",
|
|
63
|
+
"docs": "",
|
|
64
|
+
"type": "ShimWebAuthnOptions | undefined"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"returns": "Promise<PasskeyRuntimeConfiguration>",
|
|
68
|
+
"tags": [
|
|
69
|
+
{
|
|
70
|
+
"name": "since",
|
|
71
|
+
"text": "1.1.0"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "example",
|
|
75
|
+
"text": "```typescript\nimport { CapacitorPasskey } from '@capgo/capacitor-passkey';\n\nawait CapacitorPasskey.autoShimWebAuthn();\n```"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"docs": "Install the browser-style shim using host app configuration.\n\nThis is the easiest way to keep existing browser WebAuthn code working:\nconfigure the plugin in `capacitor.config.*`, then call this once during\napp bootstrap or use the `/auto` entrypoint.",
|
|
79
|
+
"complexTypes": [
|
|
80
|
+
"PasskeyRuntimeConfiguration",
|
|
81
|
+
"ShimWebAuthnOptions"
|
|
82
|
+
],
|
|
83
|
+
"slug": "autoshimwebauthn"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "createCredential",
|
|
87
|
+
"signature": "(options: CreateCredentialOptions) => Promise<PasskeyRegistrationCredential>",
|
|
88
|
+
"parameters": [
|
|
89
|
+
{
|
|
90
|
+
"name": "options",
|
|
91
|
+
"docs": "",
|
|
92
|
+
"type": "CreateCredentialOptions"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"returns": "Promise<PasskeyRegistrationCredential>",
|
|
96
|
+
"tags": [
|
|
97
|
+
{
|
|
98
|
+
"name": "since",
|
|
99
|
+
"text": "1.0.0"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"docs": "Register a passkey from a JSON-safe WebAuthn request.\n\nThis method is useful when your backend already returns the\n`PublicKeyCredentialCreationOptionsJSON` form.",
|
|
103
|
+
"complexTypes": [
|
|
104
|
+
"PasskeyRegistrationCredential",
|
|
105
|
+
"CreateCredentialOptions"
|
|
106
|
+
],
|
|
107
|
+
"slug": "createcredential"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "getCredential",
|
|
111
|
+
"signature": "(options: GetCredentialOptions) => Promise<PasskeyAuthenticationCredential>",
|
|
112
|
+
"parameters": [
|
|
113
|
+
{
|
|
114
|
+
"name": "options",
|
|
115
|
+
"docs": "",
|
|
116
|
+
"type": "GetCredentialOptions"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"returns": "Promise<PasskeyAuthenticationCredential>",
|
|
120
|
+
"tags": [
|
|
121
|
+
{
|
|
122
|
+
"name": "since",
|
|
123
|
+
"text": "1.0.0"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"docs": "Authenticate with an existing passkey from a JSON-safe WebAuthn request.\n\nThis method is useful when your backend already returns the\n`PublicKeyCredentialRequestOptionsJSON` form.",
|
|
127
|
+
"complexTypes": [
|
|
128
|
+
"PasskeyAuthenticationCredential",
|
|
129
|
+
"GetCredentialOptions"
|
|
130
|
+
],
|
|
131
|
+
"slug": "getcredential"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "isSupported",
|
|
135
|
+
"signature": "() => Promise<PasskeySupportResult>",
|
|
136
|
+
"parameters": [],
|
|
137
|
+
"returns": "Promise<PasskeySupportResult>",
|
|
138
|
+
"tags": [
|
|
139
|
+
{
|
|
140
|
+
"name": "since",
|
|
141
|
+
"text": "1.0.0"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"docs": "Report whether passkeys are available in the current runtime.",
|
|
145
|
+
"complexTypes": [
|
|
146
|
+
"PasskeySupportResult"
|
|
147
|
+
],
|
|
148
|
+
"slug": "issupported"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "getPluginVersion",
|
|
152
|
+
"signature": "() => Promise<PluginVersionResult>",
|
|
153
|
+
"parameters": [],
|
|
154
|
+
"returns": "Promise<PluginVersionResult>",
|
|
155
|
+
"tags": [
|
|
156
|
+
{
|
|
157
|
+
"name": "since",
|
|
158
|
+
"text": "1.0.0"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"docs": "Returns the current platform implementation version marker.",
|
|
162
|
+
"complexTypes": [
|
|
163
|
+
"PluginVersionResult"
|
|
164
|
+
],
|
|
165
|
+
"slug": "getpluginversion"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"properties": []
|
|
169
|
+
},
|
|
170
|
+
"interfaces": [
|
|
171
|
+
{
|
|
172
|
+
"name": "ShimWebAuthnOptions",
|
|
173
|
+
"slug": "shimwebauthnoptions",
|
|
174
|
+
"docs": "Options used when installing the browser-style shim.",
|
|
175
|
+
"tags": [
|
|
176
|
+
{
|
|
177
|
+
"text": "1.0.0",
|
|
178
|
+
"name": "since"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"methods": [],
|
|
182
|
+
"properties": [
|
|
183
|
+
{
|
|
184
|
+
"name": "origin",
|
|
185
|
+
"tags": [],
|
|
186
|
+
"docs": "Optional HTTPS origin to encode into iOS 17.4+ clientDataJSON.\n\nUse this when your Capacitor app runs from `capacitor://localhost`\nbut your relying party expects `https://signin.example.com`.",
|
|
187
|
+
"complexTypes": [],
|
|
188
|
+
"type": "string | undefined"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "force",
|
|
192
|
+
"tags": [],
|
|
193
|
+
"docs": "Force the shim even if the runtime already exposes `navigator.credentials`.\n\nDefaults to `false`.",
|
|
194
|
+
"complexTypes": [],
|
|
195
|
+
"type": "boolean | undefined"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "PasskeyRuntimeConfiguration",
|
|
201
|
+
"slug": "passkeyruntimeconfiguration",
|
|
202
|
+
"docs": "Runtime configuration loaded from the host app's Capacitor config.\n\nThis is the shape returned by `getConfiguration()`.",
|
|
203
|
+
"tags": [
|
|
204
|
+
{
|
|
205
|
+
"text": "1.1.0",
|
|
206
|
+
"name": "since"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"methods": [],
|
|
210
|
+
"properties": [
|
|
211
|
+
{
|
|
212
|
+
"name": "autoShim",
|
|
213
|
+
"tags": [],
|
|
214
|
+
"docs": "Whether the `/auto` entrypoint should install the shim automatically.\n\nDefaults to `true`.",
|
|
215
|
+
"complexTypes": [],
|
|
216
|
+
"type": "boolean"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "origin",
|
|
220
|
+
"tags": [],
|
|
221
|
+
"docs": "Optional HTTPS origin used by the auto-shim.\n\nOn iOS 17.4+ this origin is encoded into `clientDataJSON`.",
|
|
222
|
+
"complexTypes": [],
|
|
223
|
+
"type": "string | undefined"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "domains",
|
|
227
|
+
"tags": [],
|
|
228
|
+
"docs": "Domains associated with the app for passkey usage.\n\nThese come from `domains` in Capacitor config plus the hostname derived\nfrom `origin` when available.",
|
|
229
|
+
"complexTypes": [],
|
|
230
|
+
"type": "string[]"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "platform",
|
|
234
|
+
"tags": [],
|
|
235
|
+
"docs": "Current runtime platform.",
|
|
236
|
+
"complexTypes": [],
|
|
237
|
+
"type": "'ios' | 'android' | 'web'"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "PasskeyRegistrationCredential",
|
|
243
|
+
"slug": "passkeyregistrationcredential",
|
|
244
|
+
"docs": "JSON-safe registration credential returned by the plugin.",
|
|
245
|
+
"tags": [
|
|
246
|
+
{
|
|
247
|
+
"text": "1.0.0",
|
|
248
|
+
"name": "since"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"methods": [],
|
|
252
|
+
"properties": [
|
|
253
|
+
{
|
|
254
|
+
"name": "id",
|
|
255
|
+
"tags": [],
|
|
256
|
+
"docs": "Base64url-encoded credential identifier.",
|
|
257
|
+
"complexTypes": [],
|
|
258
|
+
"type": "string"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "rawId",
|
|
262
|
+
"tags": [],
|
|
263
|
+
"docs": "Base64url-encoded raw credential identifier.",
|
|
264
|
+
"complexTypes": [],
|
|
265
|
+
"type": "string"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "type",
|
|
269
|
+
"tags": [],
|
|
270
|
+
"docs": "Credential type. Always `public-key`.",
|
|
271
|
+
"complexTypes": [
|
|
272
|
+
"PasskeyCredentialType"
|
|
273
|
+
],
|
|
274
|
+
"type": "PasskeyCredentialType"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "authenticatorAttachment",
|
|
278
|
+
"tags": [],
|
|
279
|
+
"docs": "Optional authenticator attachment reported by the platform.",
|
|
280
|
+
"complexTypes": [
|
|
281
|
+
"PasskeyAuthenticatorAttachment"
|
|
282
|
+
],
|
|
283
|
+
"type": "PasskeyAuthenticatorAttachment"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "clientExtensionResults",
|
|
287
|
+
"tags": [],
|
|
288
|
+
"docs": "Client extension results returned by the platform.",
|
|
289
|
+
"complexTypes": [
|
|
290
|
+
"Record"
|
|
291
|
+
],
|
|
292
|
+
"type": "Record<string, unknown>"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "response",
|
|
296
|
+
"tags": [],
|
|
297
|
+
"docs": "Registration response payload.",
|
|
298
|
+
"complexTypes": [
|
|
299
|
+
"PasskeyAuthenticatorAttestationResponseJSON"
|
|
300
|
+
],
|
|
301
|
+
"type": "PasskeyAuthenticatorAttestationResponseJSON"
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "PasskeyAuthenticatorAttestationResponseJSON",
|
|
307
|
+
"slug": "passkeyauthenticatorattestationresponsejson",
|
|
308
|
+
"docs": "JSON-safe attestation response payload.\n\nAll binary fields are base64url encoded.",
|
|
309
|
+
"tags": [
|
|
310
|
+
{
|
|
311
|
+
"text": "1.0.0",
|
|
312
|
+
"name": "since"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"methods": [],
|
|
316
|
+
"properties": [
|
|
317
|
+
{
|
|
318
|
+
"name": "clientDataJSON",
|
|
319
|
+
"tags": [],
|
|
320
|
+
"docs": "Base64url-encoded clientDataJSON.",
|
|
321
|
+
"complexTypes": [],
|
|
322
|
+
"type": "string"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "attestationObject",
|
|
326
|
+
"tags": [],
|
|
327
|
+
"docs": "Base64url-encoded attestation object.",
|
|
328
|
+
"complexTypes": [],
|
|
329
|
+
"type": "string"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "publicKey",
|
|
333
|
+
"tags": [],
|
|
334
|
+
"docs": "Optional base64url-encoded public key when provided by the platform.",
|
|
335
|
+
"complexTypes": [],
|
|
336
|
+
"type": "string | undefined"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "publicKeyAlgorithm",
|
|
340
|
+
"tags": [],
|
|
341
|
+
"docs": "Optional public key algorithm when provided by the platform.",
|
|
342
|
+
"complexTypes": [],
|
|
343
|
+
"type": "number | undefined"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "transports",
|
|
347
|
+
"tags": [],
|
|
348
|
+
"docs": "Optional transport list when provided by the platform.",
|
|
349
|
+
"complexTypes": [],
|
|
350
|
+
"type": "string[] | undefined"
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "CreateCredentialOptions",
|
|
356
|
+
"slug": "createcredentialoptions",
|
|
357
|
+
"docs": "Direct registration request for the plugin transport.",
|
|
358
|
+
"tags": [
|
|
359
|
+
{
|
|
360
|
+
"text": "1.0.0",
|
|
361
|
+
"name": "since"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"methods": [],
|
|
365
|
+
"properties": [
|
|
366
|
+
{
|
|
367
|
+
"name": "publicKey",
|
|
368
|
+
"tags": [],
|
|
369
|
+
"docs": "JSON-safe registration request.",
|
|
370
|
+
"complexTypes": [
|
|
371
|
+
"PasskeyPublicKeyCredentialCreationOptionsJSON"
|
|
372
|
+
],
|
|
373
|
+
"type": "PasskeyPublicKeyCredentialCreationOptionsJSON"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "origin",
|
|
377
|
+
"tags": [],
|
|
378
|
+
"docs": "Optional HTTPS origin to use for iOS 17.4+ browser-style clientDataJSON.",
|
|
379
|
+
"complexTypes": [],
|
|
380
|
+
"type": "string | undefined"
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "PasskeyPublicKeyCredentialCreationOptionsJSON",
|
|
386
|
+
"slug": "passkeypublickeycredentialcreationoptionsjson",
|
|
387
|
+
"docs": "JSON-safe registration request options.\n\nAll binary fields must be base64url encoded.",
|
|
388
|
+
"tags": [
|
|
389
|
+
{
|
|
390
|
+
"text": "1.0.0",
|
|
391
|
+
"name": "since"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"methods": [],
|
|
395
|
+
"properties": [
|
|
396
|
+
{
|
|
397
|
+
"name": "challenge",
|
|
398
|
+
"tags": [],
|
|
399
|
+
"docs": "Base64url-encoded challenge.",
|
|
400
|
+
"complexTypes": [],
|
|
401
|
+
"type": "string"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "rp",
|
|
405
|
+
"tags": [],
|
|
406
|
+
"docs": "Relying party information.",
|
|
407
|
+
"complexTypes": [
|
|
408
|
+
"PasskeyRelyingParty"
|
|
409
|
+
],
|
|
410
|
+
"type": "PasskeyRelyingParty"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "user",
|
|
414
|
+
"tags": [],
|
|
415
|
+
"docs": "User information.",
|
|
416
|
+
"complexTypes": [
|
|
417
|
+
"PasskeyUserEntity"
|
|
418
|
+
],
|
|
419
|
+
"type": "PasskeyUserEntity"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "pubKeyCredParams",
|
|
423
|
+
"tags": [],
|
|
424
|
+
"docs": "Supported credential algorithms.",
|
|
425
|
+
"complexTypes": [
|
|
426
|
+
"PasskeyCredentialParameter"
|
|
427
|
+
],
|
|
428
|
+
"type": "PasskeyCredentialParameter[]"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "timeout",
|
|
432
|
+
"tags": [],
|
|
433
|
+
"docs": "Optional timeout hint in milliseconds.",
|
|
434
|
+
"complexTypes": [],
|
|
435
|
+
"type": "number | undefined"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "excludeCredentials",
|
|
439
|
+
"tags": [],
|
|
440
|
+
"docs": "Optional credentials that must be excluded during registration.",
|
|
441
|
+
"complexTypes": [
|
|
442
|
+
"PasskeyCredentialDescriptor"
|
|
443
|
+
],
|
|
444
|
+
"type": "PasskeyCredentialDescriptor[] | undefined"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "authenticatorSelection",
|
|
448
|
+
"tags": [],
|
|
449
|
+
"docs": "Optional authenticator preferences.",
|
|
450
|
+
"complexTypes": [
|
|
451
|
+
"PasskeyAuthenticatorSelection"
|
|
452
|
+
],
|
|
453
|
+
"type": "PasskeyAuthenticatorSelection"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "attestation",
|
|
457
|
+
"tags": [],
|
|
458
|
+
"docs": "Optional attestation preference.",
|
|
459
|
+
"complexTypes": [
|
|
460
|
+
"PasskeyAttestation"
|
|
461
|
+
],
|
|
462
|
+
"type": "PasskeyAttestation"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "hints",
|
|
466
|
+
"tags": [],
|
|
467
|
+
"docs": "Optional hints copied from the JSON form used by modern WebAuthn toolkits.",
|
|
468
|
+
"complexTypes": [],
|
|
469
|
+
"type": "string[] | undefined"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "extensions",
|
|
473
|
+
"tags": [],
|
|
474
|
+
"docs": "Optional extensions copied as-is into the request JSON.",
|
|
475
|
+
"complexTypes": [
|
|
476
|
+
"Record"
|
|
477
|
+
],
|
|
478
|
+
"type": "Record<string, unknown>"
|
|
479
|
+
}
|
|
480
|
+
]
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "PasskeyRelyingParty",
|
|
484
|
+
"slug": "passkeyrelyingparty",
|
|
485
|
+
"docs": "JSON-safe relying party information.",
|
|
486
|
+
"tags": [
|
|
487
|
+
{
|
|
488
|
+
"text": "1.0.0",
|
|
489
|
+
"name": "since"
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"methods": [],
|
|
493
|
+
"properties": [
|
|
494
|
+
{
|
|
495
|
+
"name": "id",
|
|
496
|
+
"tags": [],
|
|
497
|
+
"docs": "Relying party identifier.\n\nIf omitted, the shim derives it from the configured origin when possible.",
|
|
498
|
+
"complexTypes": [],
|
|
499
|
+
"type": "string | undefined"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "name",
|
|
503
|
+
"tags": [],
|
|
504
|
+
"docs": "Human-readable relying party name.",
|
|
505
|
+
"complexTypes": [],
|
|
506
|
+
"type": "string"
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "PasskeyUserEntity",
|
|
512
|
+
"slug": "passkeyuserentity",
|
|
513
|
+
"docs": "JSON-safe WebAuthn user entity.\n\nBinary identifiers must be base64url encoded.",
|
|
514
|
+
"tags": [
|
|
515
|
+
{
|
|
516
|
+
"text": "1.0.0",
|
|
517
|
+
"name": "since"
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"methods": [],
|
|
521
|
+
"properties": [
|
|
522
|
+
{
|
|
523
|
+
"name": "id",
|
|
524
|
+
"tags": [],
|
|
525
|
+
"docs": "Base64url-encoded user handle.",
|
|
526
|
+
"complexTypes": [],
|
|
527
|
+
"type": "string"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "name",
|
|
531
|
+
"tags": [],
|
|
532
|
+
"docs": "User name shown by the authenticator.",
|
|
533
|
+
"complexTypes": [],
|
|
534
|
+
"type": "string"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "displayName",
|
|
538
|
+
"tags": [],
|
|
539
|
+
"docs": "Optional display name shown by the authenticator.",
|
|
540
|
+
"complexTypes": [],
|
|
541
|
+
"type": "string | undefined"
|
|
542
|
+
}
|
|
543
|
+
]
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "PasskeyCredentialParameter",
|
|
547
|
+
"slug": "passkeycredentialparameter",
|
|
548
|
+
"docs": "JSON-safe credential parameter entry.",
|
|
549
|
+
"tags": [
|
|
550
|
+
{
|
|
551
|
+
"text": "1.0.0",
|
|
552
|
+
"name": "since"
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
"methods": [],
|
|
556
|
+
"properties": [
|
|
557
|
+
{
|
|
558
|
+
"name": "type",
|
|
559
|
+
"tags": [],
|
|
560
|
+
"docs": "Credential type. Only `public-key` is supported.",
|
|
561
|
+
"complexTypes": [
|
|
562
|
+
"PasskeyCredentialType"
|
|
563
|
+
],
|
|
564
|
+
"type": "PasskeyCredentialType"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "alg",
|
|
568
|
+
"tags": [],
|
|
569
|
+
"docs": "COSE algorithm identifier.",
|
|
570
|
+
"complexTypes": [],
|
|
571
|
+
"type": "number"
|
|
572
|
+
}
|
|
573
|
+
]
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "PasskeyCredentialDescriptor",
|
|
577
|
+
"slug": "passkeycredentialdescriptor",
|
|
578
|
+
"docs": "JSON-safe representation of a public key credential descriptor.\n\nBinary identifiers must be base64url encoded.",
|
|
579
|
+
"tags": [
|
|
580
|
+
{
|
|
581
|
+
"text": "1.0.0",
|
|
582
|
+
"name": "since"
|
|
583
|
+
}
|
|
584
|
+
],
|
|
585
|
+
"methods": [],
|
|
586
|
+
"properties": [
|
|
587
|
+
{
|
|
588
|
+
"name": "id",
|
|
589
|
+
"tags": [],
|
|
590
|
+
"docs": "Base64url-encoded credential identifier.",
|
|
591
|
+
"complexTypes": [],
|
|
592
|
+
"type": "string"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"name": "type",
|
|
596
|
+
"tags": [],
|
|
597
|
+
"docs": "Credential type. Only `public-key` is supported.",
|
|
598
|
+
"complexTypes": [
|
|
599
|
+
"PasskeyCredentialType"
|
|
600
|
+
],
|
|
601
|
+
"type": "PasskeyCredentialType"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "transports",
|
|
605
|
+
"tags": [],
|
|
606
|
+
"docs": "Optional transport hints copied from WebAuthn.",
|
|
607
|
+
"complexTypes": [],
|
|
608
|
+
"type": "string[] | undefined"
|
|
609
|
+
}
|
|
610
|
+
]
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "PasskeyAuthenticatorSelection",
|
|
614
|
+
"slug": "passkeyauthenticatorselection",
|
|
615
|
+
"docs": "JSON-safe authenticator selection options.",
|
|
616
|
+
"tags": [
|
|
617
|
+
{
|
|
618
|
+
"text": "1.0.0",
|
|
619
|
+
"name": "since"
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
"methods": [],
|
|
623
|
+
"properties": [
|
|
624
|
+
{
|
|
625
|
+
"name": "authenticatorAttachment",
|
|
626
|
+
"tags": [],
|
|
627
|
+
"docs": "Optional authenticator attachment hint.",
|
|
628
|
+
"complexTypes": [
|
|
629
|
+
"PasskeyAuthenticatorAttachment"
|
|
630
|
+
],
|
|
631
|
+
"type": "PasskeyAuthenticatorAttachment"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"name": "residentKey",
|
|
635
|
+
"tags": [],
|
|
636
|
+
"docs": "Optional resident key preference.",
|
|
637
|
+
"complexTypes": [
|
|
638
|
+
"PasskeyResidentKey"
|
|
639
|
+
],
|
|
640
|
+
"type": "PasskeyResidentKey"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "requireResidentKey",
|
|
644
|
+
"tags": [],
|
|
645
|
+
"docs": "Legacy resident key requirement flag.",
|
|
646
|
+
"complexTypes": [],
|
|
647
|
+
"type": "boolean | undefined"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "userVerification",
|
|
651
|
+
"tags": [],
|
|
652
|
+
"docs": "Optional user verification preference.",
|
|
653
|
+
"complexTypes": [
|
|
654
|
+
"PasskeyUserVerification"
|
|
655
|
+
],
|
|
656
|
+
"type": "PasskeyUserVerification"
|
|
657
|
+
}
|
|
658
|
+
]
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "PasskeyAuthenticationCredential",
|
|
662
|
+
"slug": "passkeyauthenticationcredential",
|
|
663
|
+
"docs": "JSON-safe authentication credential returned by the plugin.",
|
|
664
|
+
"tags": [
|
|
665
|
+
{
|
|
666
|
+
"text": "1.0.0",
|
|
667
|
+
"name": "since"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"methods": [],
|
|
671
|
+
"properties": [
|
|
672
|
+
{
|
|
673
|
+
"name": "id",
|
|
674
|
+
"tags": [],
|
|
675
|
+
"docs": "Base64url-encoded credential identifier.",
|
|
676
|
+
"complexTypes": [],
|
|
677
|
+
"type": "string"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "rawId",
|
|
681
|
+
"tags": [],
|
|
682
|
+
"docs": "Base64url-encoded raw credential identifier.",
|
|
683
|
+
"complexTypes": [],
|
|
684
|
+
"type": "string"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "type",
|
|
688
|
+
"tags": [],
|
|
689
|
+
"docs": "Credential type. Always `public-key`.",
|
|
690
|
+
"complexTypes": [
|
|
691
|
+
"PasskeyCredentialType"
|
|
692
|
+
],
|
|
693
|
+
"type": "PasskeyCredentialType"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "authenticatorAttachment",
|
|
697
|
+
"tags": [],
|
|
698
|
+
"docs": "Optional authenticator attachment reported by the platform.",
|
|
699
|
+
"complexTypes": [
|
|
700
|
+
"PasskeyAuthenticatorAttachment"
|
|
701
|
+
],
|
|
702
|
+
"type": "PasskeyAuthenticatorAttachment"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "clientExtensionResults",
|
|
706
|
+
"tags": [],
|
|
707
|
+
"docs": "Client extension results returned by the platform.",
|
|
708
|
+
"complexTypes": [
|
|
709
|
+
"Record"
|
|
710
|
+
],
|
|
711
|
+
"type": "Record<string, unknown>"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "response",
|
|
715
|
+
"tags": [],
|
|
716
|
+
"docs": "Assertion response payload.",
|
|
717
|
+
"complexTypes": [
|
|
718
|
+
"PasskeyAuthenticatorAssertionResponseJSON"
|
|
719
|
+
],
|
|
720
|
+
"type": "PasskeyAuthenticatorAssertionResponseJSON"
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "PasskeyAuthenticatorAssertionResponseJSON",
|
|
726
|
+
"slug": "passkeyauthenticatorassertionresponsejson",
|
|
727
|
+
"docs": "JSON-safe assertion response payload.\n\nAll binary fields are base64url encoded.",
|
|
728
|
+
"tags": [
|
|
729
|
+
{
|
|
730
|
+
"text": "1.0.0",
|
|
731
|
+
"name": "since"
|
|
732
|
+
}
|
|
733
|
+
],
|
|
734
|
+
"methods": [],
|
|
735
|
+
"properties": [
|
|
736
|
+
{
|
|
737
|
+
"name": "clientDataJSON",
|
|
738
|
+
"tags": [],
|
|
739
|
+
"docs": "Base64url-encoded clientDataJSON.",
|
|
740
|
+
"complexTypes": [],
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"name": "authenticatorData",
|
|
745
|
+
"tags": [],
|
|
746
|
+
"docs": "Base64url-encoded authenticator data.",
|
|
747
|
+
"complexTypes": [],
|
|
748
|
+
"type": "string"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "signature",
|
|
752
|
+
"tags": [],
|
|
753
|
+
"docs": "Base64url-encoded signature.",
|
|
754
|
+
"complexTypes": [],
|
|
755
|
+
"type": "string"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "userHandle",
|
|
759
|
+
"tags": [],
|
|
760
|
+
"docs": "Optional base64url-encoded user handle.",
|
|
761
|
+
"complexTypes": [],
|
|
762
|
+
"type": "string | null | undefined"
|
|
763
|
+
}
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "GetCredentialOptions",
|
|
768
|
+
"slug": "getcredentialoptions",
|
|
769
|
+
"docs": "Direct authentication request for the plugin transport.",
|
|
770
|
+
"tags": [
|
|
771
|
+
{
|
|
772
|
+
"text": "1.0.0",
|
|
773
|
+
"name": "since"
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"methods": [],
|
|
777
|
+
"properties": [
|
|
778
|
+
{
|
|
779
|
+
"name": "publicKey",
|
|
780
|
+
"tags": [],
|
|
781
|
+
"docs": "JSON-safe authentication request.",
|
|
782
|
+
"complexTypes": [
|
|
783
|
+
"PasskeyPublicKeyCredentialRequestOptionsJSON"
|
|
784
|
+
],
|
|
785
|
+
"type": "PasskeyPublicKeyCredentialRequestOptionsJSON"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "mediation",
|
|
789
|
+
"tags": [],
|
|
790
|
+
"docs": "Optional mediation hint. `conditional` currently falls back to an explicit prompt.",
|
|
791
|
+
"complexTypes": [],
|
|
792
|
+
"type": "string | undefined"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "origin",
|
|
796
|
+
"tags": [],
|
|
797
|
+
"docs": "Optional HTTPS origin to use for iOS 17.4+ browser-style clientDataJSON.",
|
|
798
|
+
"complexTypes": [],
|
|
799
|
+
"type": "string | undefined"
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"name": "PasskeyPublicKeyCredentialRequestOptionsJSON",
|
|
805
|
+
"slug": "passkeypublickeycredentialrequestoptionsjson",
|
|
806
|
+
"docs": "JSON-safe authentication request options.\n\nAll binary fields must be base64url encoded.",
|
|
807
|
+
"tags": [
|
|
808
|
+
{
|
|
809
|
+
"text": "1.0.0",
|
|
810
|
+
"name": "since"
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"methods": [],
|
|
814
|
+
"properties": [
|
|
815
|
+
{
|
|
816
|
+
"name": "challenge",
|
|
817
|
+
"tags": [],
|
|
818
|
+
"docs": "Base64url-encoded challenge.",
|
|
819
|
+
"complexTypes": [],
|
|
820
|
+
"type": "string"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "timeout",
|
|
824
|
+
"tags": [],
|
|
825
|
+
"docs": "Optional timeout hint in milliseconds.",
|
|
826
|
+
"complexTypes": [],
|
|
827
|
+
"type": "number | undefined"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "rpId",
|
|
831
|
+
"tags": [],
|
|
832
|
+
"docs": "Optional relying party identifier.\n\nIf omitted, the shim derives it from the configured origin when possible.",
|
|
833
|
+
"complexTypes": [],
|
|
834
|
+
"type": "string | undefined"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "allowCredentials",
|
|
838
|
+
"tags": [],
|
|
839
|
+
"docs": "Optional allow list copied from WebAuthn.",
|
|
840
|
+
"complexTypes": [
|
|
841
|
+
"PasskeyCredentialDescriptor"
|
|
842
|
+
],
|
|
843
|
+
"type": "PasskeyCredentialDescriptor[] | undefined"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"name": "userVerification",
|
|
847
|
+
"tags": [],
|
|
848
|
+
"docs": "Optional user verification preference.",
|
|
849
|
+
"complexTypes": [
|
|
850
|
+
"PasskeyUserVerification"
|
|
851
|
+
],
|
|
852
|
+
"type": "PasskeyUserVerification"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "hints",
|
|
856
|
+
"tags": [],
|
|
857
|
+
"docs": "Optional hints copied from the JSON form used by modern WebAuthn toolkits.",
|
|
858
|
+
"complexTypes": [],
|
|
859
|
+
"type": "string[] | undefined"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"name": "extensions",
|
|
863
|
+
"tags": [],
|
|
864
|
+
"docs": "Optional extensions copied as-is into the request JSON.",
|
|
865
|
+
"complexTypes": [
|
|
866
|
+
"Record"
|
|
867
|
+
],
|
|
868
|
+
"type": "Record<string, unknown>"
|
|
869
|
+
}
|
|
870
|
+
]
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "PasskeySupportResult",
|
|
874
|
+
"slug": "passkeysupportresult",
|
|
875
|
+
"docs": "Passkey support status for the current runtime.",
|
|
876
|
+
"tags": [
|
|
877
|
+
{
|
|
878
|
+
"text": "1.0.0",
|
|
879
|
+
"name": "since"
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
"methods": [],
|
|
883
|
+
"properties": [
|
|
884
|
+
{
|
|
885
|
+
"name": "available",
|
|
886
|
+
"tags": [],
|
|
887
|
+
"docs": "Whether passkeys are available on the current runtime.",
|
|
888
|
+
"complexTypes": [],
|
|
889
|
+
"type": "boolean"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"name": "conditionalMediation",
|
|
893
|
+
"tags": [],
|
|
894
|
+
"docs": "Whether conditional mediation is available.",
|
|
895
|
+
"complexTypes": [],
|
|
896
|
+
"type": "boolean"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "platform",
|
|
900
|
+
"tags": [],
|
|
901
|
+
"docs": "Current platform identifier.",
|
|
902
|
+
"complexTypes": [],
|
|
903
|
+
"type": "'ios' | 'android' | 'web'"
|
|
904
|
+
}
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"name": "PluginVersionResult",
|
|
909
|
+
"slug": "pluginversionresult",
|
|
910
|
+
"docs": "Plugin version payload.",
|
|
911
|
+
"tags": [
|
|
912
|
+
{
|
|
913
|
+
"text": "1.0.0",
|
|
914
|
+
"name": "since"
|
|
915
|
+
}
|
|
916
|
+
],
|
|
917
|
+
"methods": [],
|
|
918
|
+
"properties": [
|
|
919
|
+
{
|
|
920
|
+
"name": "version",
|
|
921
|
+
"tags": [],
|
|
922
|
+
"docs": "Version identifier reported by the current platform implementation.",
|
|
923
|
+
"complexTypes": [],
|
|
924
|
+
"type": "string"
|
|
925
|
+
}
|
|
926
|
+
]
|
|
927
|
+
}
|
|
928
|
+
],
|
|
929
|
+
"enums": [],
|
|
930
|
+
"typeAliases": [
|
|
931
|
+
{
|
|
932
|
+
"name": "PasskeyCredentialType",
|
|
933
|
+
"slug": "passkeycredentialtype",
|
|
934
|
+
"docs": "Supported WebAuthn credential type.",
|
|
935
|
+
"types": [
|
|
936
|
+
{
|
|
937
|
+
"text": "'public-key'",
|
|
938
|
+
"complexTypes": []
|
|
939
|
+
}
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "PasskeyAuthenticatorAttachment",
|
|
944
|
+
"slug": "passkeyauthenticatorattachment",
|
|
945
|
+
"docs": "Supported authenticator attachment values.",
|
|
946
|
+
"types": [
|
|
947
|
+
{
|
|
948
|
+
"text": "'platform'",
|
|
949
|
+
"complexTypes": []
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"text": "'cross-platform'",
|
|
953
|
+
"complexTypes": []
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"name": "Record",
|
|
959
|
+
"slug": "record",
|
|
960
|
+
"docs": "Construct a type with a set of properties K of type T",
|
|
961
|
+
"types": [
|
|
962
|
+
{
|
|
963
|
+
"text": "{\r\n [P in K]: T;\r\n}",
|
|
964
|
+
"complexTypes": [
|
|
965
|
+
"K",
|
|
966
|
+
"T"
|
|
967
|
+
]
|
|
968
|
+
}
|
|
969
|
+
]
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "PasskeyResidentKey",
|
|
973
|
+
"slug": "passkeyresidentkey",
|
|
974
|
+
"docs": "Supported resident key preferences.",
|
|
975
|
+
"types": [
|
|
976
|
+
{
|
|
977
|
+
"text": "'discouraged'",
|
|
978
|
+
"complexTypes": []
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"text": "'preferred'",
|
|
982
|
+
"complexTypes": []
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"text": "'required'",
|
|
986
|
+
"complexTypes": []
|
|
987
|
+
}
|
|
988
|
+
]
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"name": "PasskeyUserVerification",
|
|
992
|
+
"slug": "passkeyuserverification",
|
|
993
|
+
"docs": "Supported user verification preferences.",
|
|
994
|
+
"types": [
|
|
995
|
+
{
|
|
996
|
+
"text": "'discouraged'",
|
|
997
|
+
"complexTypes": []
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"text": "'preferred'",
|
|
1001
|
+
"complexTypes": []
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"text": "'required'",
|
|
1005
|
+
"complexTypes": []
|
|
1006
|
+
}
|
|
1007
|
+
]
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"name": "PasskeyAttestation",
|
|
1011
|
+
"slug": "passkeyattestation",
|
|
1012
|
+
"docs": "Supported attestation preferences.",
|
|
1013
|
+
"types": [
|
|
1014
|
+
{
|
|
1015
|
+
"text": "'none'",
|
|
1016
|
+
"complexTypes": []
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"text": "'indirect'",
|
|
1020
|
+
"complexTypes": []
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"text": "'direct'",
|
|
1024
|
+
"complexTypes": []
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"text": "'enterprise'",
|
|
1028
|
+
"complexTypes": []
|
|
1029
|
+
}
|
|
1030
|
+
]
|
|
1031
|
+
}
|
|
1032
|
+
],
|
|
1033
|
+
"pluginConfigs": []
|
|
1034
|
+
}
|