@capawesome/capacitor-passkeys 0.0.1
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/CapawesomeCapacitorPasskeys.podspec +17 -0
- package/LICENSE +21 -0
- package/Package.swift +28 -0
- package/README.md +472 -0
- package/android/build.gradle +61 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/Passkeys.java +173 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/PasskeysPlugin.java +115 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/classes/CustomException.java +20 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/classes/CustomExceptions.java +12 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/classes/options/CreatePasskeyOptions.java +38 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/classes/options/GetPasskeyOptions.java +33 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/classes/results/CreatePasskeyResult.java +22 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/classes/results/GetPasskeyResult.java +22 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/classes/results/IsAvailableResult.java +22 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/interfaces/Callback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/interfaces/NonEmptyResultCallback.java +7 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/passkeys/interfaces/Result.java +7 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +1091 -0
- package/dist/esm/definitions.d.ts +567 -0
- package/dist/esm/definitions.js +47 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +18 -0
- package/dist/esm/web.js +184 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +244 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +247 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/Classes/Options/CreatePasskeyOptions.swift +81 -0
- package/ios/Plugin/Classes/Options/GetPasskeyOptions.swift +54 -0
- package/ios/Plugin/Classes/Results/CreatePasskeyResult.swift +28 -0
- package/ios/Plugin/Classes/Results/GetPasskeyResult.swift +34 -0
- package/ios/Plugin/Classes/Results/IsAvailableResult.swift +16 -0
- package/ios/Plugin/Enums/CustomError.swift +65 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Passkeys.swift +118 -0
- package/ios/Plugin/PasskeysHelper.swift +20 -0
- package/ios/Plugin/PasskeysPlugin.swift +86 -0
- package/ios/Plugin/Protocols/Result.swift +5 -0
- package/package.json +91 -0
package/dist/docs.json
ADDED
|
@@ -0,0 +1,1091 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "PasskeysPlugin",
|
|
4
|
+
"slug": "passkeysplugin",
|
|
5
|
+
"docs": "",
|
|
6
|
+
"tags": [],
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"name": "createPasskey",
|
|
10
|
+
"signature": "(options: CreatePasskeyOptions) => Promise<CreatePasskeyResult>",
|
|
11
|
+
"parameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "options",
|
|
14
|
+
"docs": "",
|
|
15
|
+
"type": "CreatePasskeyOptions"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"returns": "Promise<CreatePasskeyResult>",
|
|
19
|
+
"tags": [
|
|
20
|
+
{
|
|
21
|
+
"name": "since",
|
|
22
|
+
"text": "0.1.0"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"docs": "Create (register) a new passkey.\n\nThe options mirror the WebAuthn `PublicKeyCredentialCreationOptions` JSON\nserialization so that the values provided by any WebAuthn server library\ncan be passed through unchanged.",
|
|
26
|
+
"complexTypes": [
|
|
27
|
+
"CreatePasskeyResult",
|
|
28
|
+
"CreatePasskeyOptions"
|
|
29
|
+
],
|
|
30
|
+
"slug": "createpasskey"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "getPasskey",
|
|
34
|
+
"signature": "(options: GetPasskeyOptions) => Promise<GetPasskeyResult>",
|
|
35
|
+
"parameters": [
|
|
36
|
+
{
|
|
37
|
+
"name": "options",
|
|
38
|
+
"docs": "",
|
|
39
|
+
"type": "GetPasskeyOptions"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"returns": "Promise<GetPasskeyResult>",
|
|
43
|
+
"tags": [
|
|
44
|
+
{
|
|
45
|
+
"name": "since",
|
|
46
|
+
"text": "0.1.0"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"docs": "Get (authenticate with) an existing passkey.\n\nThe options mirror the WebAuthn `PublicKeyCredentialRequestOptions` JSON\nserialization so that the values provided by any WebAuthn server library\ncan be passed through unchanged.",
|
|
50
|
+
"complexTypes": [
|
|
51
|
+
"GetPasskeyResult",
|
|
52
|
+
"GetPasskeyOptions"
|
|
53
|
+
],
|
|
54
|
+
"slug": "getpasskey"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "isAvailable",
|
|
58
|
+
"signature": "() => Promise<IsAvailableResult>",
|
|
59
|
+
"parameters": [],
|
|
60
|
+
"returns": "Promise<IsAvailableResult>",
|
|
61
|
+
"tags": [
|
|
62
|
+
{
|
|
63
|
+
"name": "since",
|
|
64
|
+
"text": "0.1.0"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"docs": "Check if passkeys are available on this device.\n\nOn **Android**, this returns `true` if the device runs Android 9 (API level 28) or higher.\nOn **iOS**, this always returns `true`.\nOn **Web**, this returns `true` if the browser supports WebAuthn and\na user-verifying platform authenticator is available.",
|
|
68
|
+
"complexTypes": [
|
|
69
|
+
"IsAvailableResult"
|
|
70
|
+
],
|
|
71
|
+
"slug": "isavailable"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"properties": []
|
|
75
|
+
},
|
|
76
|
+
"interfaces": [
|
|
77
|
+
{
|
|
78
|
+
"name": "CreatePasskeyResult",
|
|
79
|
+
"slug": "createpasskeyresult",
|
|
80
|
+
"docs": "The result of the passkey creation.\n\nThis mirrors the WebAuthn `RegistrationResponseJSON` so it can be\npassed to any WebAuthn server library for verification.",
|
|
81
|
+
"tags": [
|
|
82
|
+
{
|
|
83
|
+
"text": "0.1.0",
|
|
84
|
+
"name": "since"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"methods": [],
|
|
88
|
+
"properties": [
|
|
89
|
+
{
|
|
90
|
+
"name": "authenticatorAttachment",
|
|
91
|
+
"tags": [
|
|
92
|
+
{
|
|
93
|
+
"text": "0.1.0",
|
|
94
|
+
"name": "since"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"text": "'platform'",
|
|
98
|
+
"name": "example"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"docs": "The attachment of the authenticator that created the passkey.",
|
|
102
|
+
"complexTypes": [
|
|
103
|
+
"PasskeyAuthenticatorAttachment"
|
|
104
|
+
],
|
|
105
|
+
"type": "PasskeyAuthenticatorAttachment"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "id",
|
|
109
|
+
"tags": [
|
|
110
|
+
{
|
|
111
|
+
"text": "0.1.0",
|
|
112
|
+
"name": "since"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"docs": "The credential identifier as a base64url-encoded string.",
|
|
116
|
+
"complexTypes": [],
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "rawId",
|
|
121
|
+
"tags": [
|
|
122
|
+
{
|
|
123
|
+
"text": "0.1.0",
|
|
124
|
+
"name": "since"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"docs": "The raw credential identifier as a base64url-encoded string.",
|
|
128
|
+
"complexTypes": [],
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "response",
|
|
133
|
+
"tags": [
|
|
134
|
+
{
|
|
135
|
+
"text": "0.1.0",
|
|
136
|
+
"name": "since"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"docs": "The response of the authenticator.",
|
|
140
|
+
"complexTypes": [
|
|
141
|
+
"CreatePasskeyResponse"
|
|
142
|
+
],
|
|
143
|
+
"type": "CreatePasskeyResponse"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "type",
|
|
147
|
+
"tags": [
|
|
148
|
+
{
|
|
149
|
+
"text": "0.1.0",
|
|
150
|
+
"name": "since"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"text": "'public-key'",
|
|
154
|
+
"name": "example"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"docs": "The credential type.",
|
|
158
|
+
"complexTypes": [],
|
|
159
|
+
"type": "'public-key'"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "CreatePasskeyResponse",
|
|
165
|
+
"slug": "createpasskeyresponse",
|
|
166
|
+
"docs": "The response of the authenticator for the registration of a new passkey.\n\nThis mirrors the WebAuthn `AuthenticatorAttestationResponse` JSON\nserialization.",
|
|
167
|
+
"tags": [
|
|
168
|
+
{
|
|
169
|
+
"text": "0.1.0",
|
|
170
|
+
"name": "since"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"methods": [],
|
|
174
|
+
"properties": [
|
|
175
|
+
{
|
|
176
|
+
"name": "attestationObject",
|
|
177
|
+
"tags": [
|
|
178
|
+
{
|
|
179
|
+
"text": "0.1.0",
|
|
180
|
+
"name": "since"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"docs": "The attestation object as a base64url-encoded string.",
|
|
184
|
+
"complexTypes": [],
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "authenticatorData",
|
|
189
|
+
"tags": [
|
|
190
|
+
{
|
|
191
|
+
"text": "0.1.0",
|
|
192
|
+
"name": "since"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"docs": "The authenticator data as a base64url-encoded string.\n\nOnly available on Android and Web.",
|
|
196
|
+
"complexTypes": [],
|
|
197
|
+
"type": "string | undefined"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "clientDataJSON",
|
|
201
|
+
"tags": [
|
|
202
|
+
{
|
|
203
|
+
"text": "0.1.0",
|
|
204
|
+
"name": "since"
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"docs": "The client data as a base64url-encoded string.",
|
|
208
|
+
"complexTypes": [],
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "publicKey",
|
|
213
|
+
"tags": [
|
|
214
|
+
{
|
|
215
|
+
"text": "0.1.0",
|
|
216
|
+
"name": "since"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"docs": "The DER-encoded public key as a base64url-encoded string.\n\nOnly available on Android and Web.",
|
|
220
|
+
"complexTypes": [],
|
|
221
|
+
"type": "string | undefined"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "publicKeyAlgorithm",
|
|
225
|
+
"tags": [
|
|
226
|
+
{
|
|
227
|
+
"text": "0.1.0",
|
|
228
|
+
"name": "since"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"text": "-7",
|
|
232
|
+
"name": "example"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"docs": "The COSE algorithm identifier of the public key.\n\nOnly available on Android and Web.",
|
|
236
|
+
"complexTypes": [],
|
|
237
|
+
"type": "number | undefined"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "transports",
|
|
241
|
+
"tags": [
|
|
242
|
+
{
|
|
243
|
+
"text": "0.1.0",
|
|
244
|
+
"name": "since"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"text": "['internal', 'hybrid']",
|
|
248
|
+
"name": "example"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"docs": "The transports that the authenticator supports.\n\nOnly available on Android and Web.",
|
|
252
|
+
"complexTypes": [
|
|
253
|
+
"PasskeyTransport"
|
|
254
|
+
],
|
|
255
|
+
"type": "PasskeyTransport[] | undefined"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "CreatePasskeyOptions",
|
|
261
|
+
"slug": "createpasskeyoptions",
|
|
262
|
+
"docs": "",
|
|
263
|
+
"tags": [
|
|
264
|
+
{
|
|
265
|
+
"text": "0.1.0",
|
|
266
|
+
"name": "since"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"methods": [],
|
|
270
|
+
"properties": [
|
|
271
|
+
{
|
|
272
|
+
"name": "attestation",
|
|
273
|
+
"tags": [
|
|
274
|
+
{
|
|
275
|
+
"text": "0.1.0",
|
|
276
|
+
"name": "since"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"text": "'none'",
|
|
280
|
+
"name": "default"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"text": "'none'",
|
|
284
|
+
"name": "example"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"docs": "The attestation conveyance preference.",
|
|
288
|
+
"complexTypes": [
|
|
289
|
+
"PasskeyAttestation"
|
|
290
|
+
],
|
|
291
|
+
"type": "PasskeyAttestation"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "authenticatorSelection",
|
|
295
|
+
"tags": [
|
|
296
|
+
{
|
|
297
|
+
"text": "0.1.0",
|
|
298
|
+
"name": "since"
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"docs": "Criteria that the authenticator must meet.",
|
|
302
|
+
"complexTypes": [
|
|
303
|
+
"PasskeyAuthenticatorSelection"
|
|
304
|
+
],
|
|
305
|
+
"type": "PasskeyAuthenticatorSelection"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "challenge",
|
|
309
|
+
"tags": [
|
|
310
|
+
{
|
|
311
|
+
"text": "0.1.0",
|
|
312
|
+
"name": "since"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"text": "'dGhpc2lzYWNoYWxsZW5nZQ'",
|
|
316
|
+
"name": "example"
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
"docs": "The challenge provided by the relying party server as a\nbase64url-encoded string.",
|
|
320
|
+
"complexTypes": [],
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "excludeCredentials",
|
|
325
|
+
"tags": [
|
|
326
|
+
{
|
|
327
|
+
"text": "0.1.0",
|
|
328
|
+
"name": "since"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"docs": "Credentials that already exist for the user, so that the authenticator\ndoes not create a second passkey for the same account.\n\nOn **iOS**, this option is only applied on iOS 17.4 and later.",
|
|
332
|
+
"complexTypes": [
|
|
333
|
+
"PasskeyCredentialDescriptor"
|
|
334
|
+
],
|
|
335
|
+
"type": "PasskeyCredentialDescriptor[] | undefined"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "pubKeyCredParams",
|
|
339
|
+
"tags": [
|
|
340
|
+
{
|
|
341
|
+
"text": "0.1.0",
|
|
342
|
+
"name": "since"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"text": "[{ alg: -7, type: 'public-key' }, { alg: -257, type: 'public-key' }]",
|
|
346
|
+
"name": "example"
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"docs": "The public key credential types and algorithms that the relying\nparty server supports, ordered from most to least preferred.\n\nOnly available on Android and Web.",
|
|
350
|
+
"complexTypes": [
|
|
351
|
+
"PasskeyCredentialParameter"
|
|
352
|
+
],
|
|
353
|
+
"type": "PasskeyCredentialParameter[]"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "rp",
|
|
357
|
+
"tags": [
|
|
358
|
+
{
|
|
359
|
+
"text": "0.1.0",
|
|
360
|
+
"name": "since"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"docs": "The relying party for which the passkey is created.",
|
|
364
|
+
"complexTypes": [
|
|
365
|
+
"PasskeyRelyingParty"
|
|
366
|
+
],
|
|
367
|
+
"type": "PasskeyRelyingParty"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "timeout",
|
|
371
|
+
"tags": [
|
|
372
|
+
{
|
|
373
|
+
"text": "0.1.0",
|
|
374
|
+
"name": "since"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"text": "60000",
|
|
378
|
+
"name": "example"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"docs": "The time in milliseconds that the caller is willing to wait for the\noperation to complete.\n\nOnly available on Android and Web.",
|
|
382
|
+
"complexTypes": [],
|
|
383
|
+
"type": "number | undefined"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "user",
|
|
387
|
+
"tags": [
|
|
388
|
+
{
|
|
389
|
+
"text": "0.1.0",
|
|
390
|
+
"name": "since"
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"docs": "The user account for which the passkey is created.",
|
|
394
|
+
"complexTypes": [
|
|
395
|
+
"PasskeyUser"
|
|
396
|
+
],
|
|
397
|
+
"type": "PasskeyUser"
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "PasskeyAuthenticatorSelection",
|
|
403
|
+
"slug": "passkeyauthenticatorselection",
|
|
404
|
+
"docs": "Criteria that the authenticator must meet to create a passkey.",
|
|
405
|
+
"tags": [
|
|
406
|
+
{
|
|
407
|
+
"text": "0.1.0",
|
|
408
|
+
"name": "since"
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"methods": [],
|
|
412
|
+
"properties": [
|
|
413
|
+
{
|
|
414
|
+
"name": "authenticatorAttachment",
|
|
415
|
+
"tags": [
|
|
416
|
+
{
|
|
417
|
+
"text": "0.1.0",
|
|
418
|
+
"name": "since"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"text": "'platform'",
|
|
422
|
+
"name": "example"
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"docs": "The authenticator attachment modality.\n\nOnly available on Android and Web.",
|
|
426
|
+
"complexTypes": [
|
|
427
|
+
"PasskeyAuthenticatorAttachment"
|
|
428
|
+
],
|
|
429
|
+
"type": "PasskeyAuthenticatorAttachment"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "requireResidentKey",
|
|
433
|
+
"tags": [
|
|
434
|
+
{
|
|
435
|
+
"text": "0.1.0",
|
|
436
|
+
"name": "since"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"text": "true",
|
|
440
|
+
"name": "example"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"docs": "Whether or not a discoverable credential (passkey) is required.\n\nThis property is retained for backwards compatibility with\nWebAuthn Level 1. Prefer `residentKey`.\n\nOnly available on Android and Web.",
|
|
444
|
+
"complexTypes": [],
|
|
445
|
+
"type": "boolean | undefined"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "residentKey",
|
|
449
|
+
"tags": [
|
|
450
|
+
{
|
|
451
|
+
"text": "0.1.0",
|
|
452
|
+
"name": "since"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"text": "'required'",
|
|
456
|
+
"name": "example"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"docs": "The extent to which the relying party desires to create a\ndiscoverable credential (passkey).\n\nOnly available on Android and Web.",
|
|
460
|
+
"complexTypes": [
|
|
461
|
+
"PasskeyResidentKey"
|
|
462
|
+
],
|
|
463
|
+
"type": "PasskeyResidentKey"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "userVerification",
|
|
467
|
+
"tags": [
|
|
468
|
+
{
|
|
469
|
+
"text": "0.1.0",
|
|
470
|
+
"name": "since"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"text": "'preferred'",
|
|
474
|
+
"name": "default"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"text": "'required'",
|
|
478
|
+
"name": "example"
|
|
479
|
+
}
|
|
480
|
+
],
|
|
481
|
+
"docs": "The user verification requirement.",
|
|
482
|
+
"complexTypes": [
|
|
483
|
+
"PasskeyUserVerification"
|
|
484
|
+
],
|
|
485
|
+
"type": "PasskeyUserVerification"
|
|
486
|
+
}
|
|
487
|
+
]
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "PasskeyCredentialDescriptor",
|
|
491
|
+
"slug": "passkeycredentialdescriptor",
|
|
492
|
+
"docs": "A descriptor that identifies a specific credential.",
|
|
493
|
+
"tags": [
|
|
494
|
+
{
|
|
495
|
+
"text": "0.1.0",
|
|
496
|
+
"name": "since"
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"methods": [],
|
|
500
|
+
"properties": [
|
|
501
|
+
{
|
|
502
|
+
"name": "id",
|
|
503
|
+
"tags": [
|
|
504
|
+
{
|
|
505
|
+
"text": "0.1.0",
|
|
506
|
+
"name": "since"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"docs": "The credential identifier as a base64url-encoded string.",
|
|
510
|
+
"complexTypes": [],
|
|
511
|
+
"type": "string"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "transports",
|
|
515
|
+
"tags": [
|
|
516
|
+
{
|
|
517
|
+
"text": "0.1.0",
|
|
518
|
+
"name": "since"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"text": "['internal', 'hybrid']",
|
|
522
|
+
"name": "example"
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
"docs": "The transports that the authenticator of the credential supports.\n\nOnly available on Android and Web.",
|
|
526
|
+
"complexTypes": [
|
|
527
|
+
"PasskeyTransport"
|
|
528
|
+
],
|
|
529
|
+
"type": "PasskeyTransport[] | undefined"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "type",
|
|
533
|
+
"tags": [
|
|
534
|
+
{
|
|
535
|
+
"text": "0.1.0",
|
|
536
|
+
"name": "since"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"text": "'public-key'",
|
|
540
|
+
"name": "example"
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
"docs": "The credential type.",
|
|
544
|
+
"complexTypes": [],
|
|
545
|
+
"type": "'public-key'"
|
|
546
|
+
}
|
|
547
|
+
]
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "PasskeyCredentialParameter",
|
|
551
|
+
"slug": "passkeycredentialparameter",
|
|
552
|
+
"docs": "A public key credential type and algorithm that the relying party\nserver supports.",
|
|
553
|
+
"tags": [
|
|
554
|
+
{
|
|
555
|
+
"text": "0.1.0",
|
|
556
|
+
"name": "since"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"methods": [],
|
|
560
|
+
"properties": [
|
|
561
|
+
{
|
|
562
|
+
"name": "alg",
|
|
563
|
+
"tags": [
|
|
564
|
+
{
|
|
565
|
+
"text": "0.1.0",
|
|
566
|
+
"name": "since"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"text": "-7",
|
|
570
|
+
"name": "example"
|
|
571
|
+
}
|
|
572
|
+
],
|
|
573
|
+
"docs": "The COSE algorithm identifier, e.g. `-7` for ES256 or `-257` for RS256.",
|
|
574
|
+
"complexTypes": [],
|
|
575
|
+
"type": "number"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "type",
|
|
579
|
+
"tags": [
|
|
580
|
+
{
|
|
581
|
+
"text": "0.1.0",
|
|
582
|
+
"name": "since"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"text": "'public-key'",
|
|
586
|
+
"name": "example"
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
"docs": "The credential type.",
|
|
590
|
+
"complexTypes": [],
|
|
591
|
+
"type": "'public-key'"
|
|
592
|
+
}
|
|
593
|
+
]
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "PasskeyRelyingParty",
|
|
597
|
+
"slug": "passkeyrelyingparty",
|
|
598
|
+
"docs": "The relying party for which a passkey is created.",
|
|
599
|
+
"tags": [
|
|
600
|
+
{
|
|
601
|
+
"text": "0.1.0",
|
|
602
|
+
"name": "since"
|
|
603
|
+
}
|
|
604
|
+
],
|
|
605
|
+
"methods": [],
|
|
606
|
+
"properties": [
|
|
607
|
+
{
|
|
608
|
+
"name": "id",
|
|
609
|
+
"tags": [
|
|
610
|
+
{
|
|
611
|
+
"text": "0.1.0",
|
|
612
|
+
"name": "since"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"text": "'example.com'",
|
|
616
|
+
"name": "example"
|
|
617
|
+
}
|
|
618
|
+
],
|
|
619
|
+
"docs": "The identifier of the relying party.\n\nThis must be a registrable domain suffix of (or equal to) the\ndomain that the app is associated with.",
|
|
620
|
+
"complexTypes": [],
|
|
621
|
+
"type": "string"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"name": "name",
|
|
625
|
+
"tags": [
|
|
626
|
+
{
|
|
627
|
+
"text": "0.1.0",
|
|
628
|
+
"name": "since"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"text": "'Example Inc.'",
|
|
632
|
+
"name": "example"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"docs": "The human-readable name of the relying party.",
|
|
636
|
+
"complexTypes": [],
|
|
637
|
+
"type": "string"
|
|
638
|
+
}
|
|
639
|
+
]
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"name": "PasskeyUser",
|
|
643
|
+
"slug": "passkeyuser",
|
|
644
|
+
"docs": "The user account for which a passkey is created.",
|
|
645
|
+
"tags": [
|
|
646
|
+
{
|
|
647
|
+
"text": "0.1.0",
|
|
648
|
+
"name": "since"
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
"methods": [],
|
|
652
|
+
"properties": [
|
|
653
|
+
{
|
|
654
|
+
"name": "displayName",
|
|
655
|
+
"tags": [
|
|
656
|
+
{
|
|
657
|
+
"text": "0.1.0",
|
|
658
|
+
"name": "since"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"text": "'Jane Doe'",
|
|
662
|
+
"name": "example"
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"docs": "The human-readable display name of the user account.",
|
|
666
|
+
"complexTypes": [],
|
|
667
|
+
"type": "string"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"name": "id",
|
|
671
|
+
"tags": [
|
|
672
|
+
{
|
|
673
|
+
"text": "0.1.0",
|
|
674
|
+
"name": "since"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"text": "'anVzdGFyYW5kb21pZA'",
|
|
678
|
+
"name": "example"
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"docs": "The user handle of the user account as a base64url-encoded string.",
|
|
682
|
+
"complexTypes": [],
|
|
683
|
+
"type": "string"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "name",
|
|
687
|
+
"tags": [
|
|
688
|
+
{
|
|
689
|
+
"text": "0.1.0",
|
|
690
|
+
"name": "since"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"text": "'jane.doe@example.com'",
|
|
694
|
+
"name": "example"
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
"docs": "The human-readable name of the user account, e.g. a username\nor email address.",
|
|
698
|
+
"complexTypes": [],
|
|
699
|
+
"type": "string"
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "GetPasskeyResult",
|
|
705
|
+
"slug": "getpasskeyresult",
|
|
706
|
+
"docs": "The result of the passkey authentication.\n\nThis mirrors the WebAuthn `AuthenticationResponseJSON` so it can be\npassed to any WebAuthn server library for verification.",
|
|
707
|
+
"tags": [
|
|
708
|
+
{
|
|
709
|
+
"text": "0.1.0",
|
|
710
|
+
"name": "since"
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"methods": [],
|
|
714
|
+
"properties": [
|
|
715
|
+
{
|
|
716
|
+
"name": "authenticatorAttachment",
|
|
717
|
+
"tags": [
|
|
718
|
+
{
|
|
719
|
+
"text": "0.1.0",
|
|
720
|
+
"name": "since"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"text": "'platform'",
|
|
724
|
+
"name": "example"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"docs": "The attachment of the authenticator that provided the passkey.",
|
|
728
|
+
"complexTypes": [
|
|
729
|
+
"PasskeyAuthenticatorAttachment"
|
|
730
|
+
],
|
|
731
|
+
"type": "PasskeyAuthenticatorAttachment"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "id",
|
|
735
|
+
"tags": [
|
|
736
|
+
{
|
|
737
|
+
"text": "0.1.0",
|
|
738
|
+
"name": "since"
|
|
739
|
+
}
|
|
740
|
+
],
|
|
741
|
+
"docs": "The credential identifier as a base64url-encoded string.",
|
|
742
|
+
"complexTypes": [],
|
|
743
|
+
"type": "string"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "rawId",
|
|
747
|
+
"tags": [
|
|
748
|
+
{
|
|
749
|
+
"text": "0.1.0",
|
|
750
|
+
"name": "since"
|
|
751
|
+
}
|
|
752
|
+
],
|
|
753
|
+
"docs": "The raw credential identifier as a base64url-encoded string.",
|
|
754
|
+
"complexTypes": [],
|
|
755
|
+
"type": "string"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "response",
|
|
759
|
+
"tags": [
|
|
760
|
+
{
|
|
761
|
+
"text": "0.1.0",
|
|
762
|
+
"name": "since"
|
|
763
|
+
}
|
|
764
|
+
],
|
|
765
|
+
"docs": "The response of the authenticator.",
|
|
766
|
+
"complexTypes": [
|
|
767
|
+
"GetPasskeyResponse"
|
|
768
|
+
],
|
|
769
|
+
"type": "GetPasskeyResponse"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "type",
|
|
773
|
+
"tags": [
|
|
774
|
+
{
|
|
775
|
+
"text": "0.1.0",
|
|
776
|
+
"name": "since"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"text": "'public-key'",
|
|
780
|
+
"name": "example"
|
|
781
|
+
}
|
|
782
|
+
],
|
|
783
|
+
"docs": "The credential type.",
|
|
784
|
+
"complexTypes": [],
|
|
785
|
+
"type": "'public-key'"
|
|
786
|
+
}
|
|
787
|
+
]
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"name": "GetPasskeyResponse",
|
|
791
|
+
"slug": "getpasskeyresponse",
|
|
792
|
+
"docs": "The response of the authenticator for the authentication with an\nexisting passkey.\n\nThis mirrors the WebAuthn `AuthenticatorAssertionResponse` JSON\nserialization.",
|
|
793
|
+
"tags": [
|
|
794
|
+
{
|
|
795
|
+
"text": "0.1.0",
|
|
796
|
+
"name": "since"
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"methods": [],
|
|
800
|
+
"properties": [
|
|
801
|
+
{
|
|
802
|
+
"name": "authenticatorData",
|
|
803
|
+
"tags": [
|
|
804
|
+
{
|
|
805
|
+
"text": "0.1.0",
|
|
806
|
+
"name": "since"
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
"docs": "The authenticator data as a base64url-encoded string.",
|
|
810
|
+
"complexTypes": [],
|
|
811
|
+
"type": "string"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "clientDataJSON",
|
|
815
|
+
"tags": [
|
|
816
|
+
{
|
|
817
|
+
"text": "0.1.0",
|
|
818
|
+
"name": "since"
|
|
819
|
+
}
|
|
820
|
+
],
|
|
821
|
+
"docs": "The client data as a base64url-encoded string.",
|
|
822
|
+
"complexTypes": [],
|
|
823
|
+
"type": "string"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "signature",
|
|
827
|
+
"tags": [
|
|
828
|
+
{
|
|
829
|
+
"text": "0.1.0",
|
|
830
|
+
"name": "since"
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
"docs": "The signature as a base64url-encoded string.",
|
|
834
|
+
"complexTypes": [],
|
|
835
|
+
"type": "string"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"name": "userHandle",
|
|
839
|
+
"tags": [
|
|
840
|
+
{
|
|
841
|
+
"text": "0.1.0",
|
|
842
|
+
"name": "since"
|
|
843
|
+
}
|
|
844
|
+
],
|
|
845
|
+
"docs": "The user handle (the `user.id` provided during creation) as a\nbase64url-encoded string.",
|
|
846
|
+
"complexTypes": [],
|
|
847
|
+
"type": "string | undefined"
|
|
848
|
+
}
|
|
849
|
+
]
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "GetPasskeyOptions",
|
|
853
|
+
"slug": "getpasskeyoptions",
|
|
854
|
+
"docs": "",
|
|
855
|
+
"tags": [
|
|
856
|
+
{
|
|
857
|
+
"text": "0.1.0",
|
|
858
|
+
"name": "since"
|
|
859
|
+
}
|
|
860
|
+
],
|
|
861
|
+
"methods": [],
|
|
862
|
+
"properties": [
|
|
863
|
+
{
|
|
864
|
+
"name": "allowCredentials",
|
|
865
|
+
"tags": [
|
|
866
|
+
{
|
|
867
|
+
"text": "0.1.0",
|
|
868
|
+
"name": "since"
|
|
869
|
+
}
|
|
870
|
+
],
|
|
871
|
+
"docs": "The credentials that are acceptable to the relying party server.\n\nIf not provided, the user can select from any discoverable\ncredential (passkey) of the relying party.",
|
|
872
|
+
"complexTypes": [
|
|
873
|
+
"PasskeyCredentialDescriptor"
|
|
874
|
+
],
|
|
875
|
+
"type": "PasskeyCredentialDescriptor[] | undefined"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "challenge",
|
|
879
|
+
"tags": [
|
|
880
|
+
{
|
|
881
|
+
"text": "0.1.0",
|
|
882
|
+
"name": "since"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"text": "'dGhpc2lzYWNoYWxsZW5nZQ'",
|
|
886
|
+
"name": "example"
|
|
887
|
+
}
|
|
888
|
+
],
|
|
889
|
+
"docs": "The challenge provided by the relying party server as a\nbase64url-encoded string.",
|
|
890
|
+
"complexTypes": [],
|
|
891
|
+
"type": "string"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "rpId",
|
|
895
|
+
"tags": [
|
|
896
|
+
{
|
|
897
|
+
"text": "0.1.0",
|
|
898
|
+
"name": "since"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"text": "'example.com'",
|
|
902
|
+
"name": "example"
|
|
903
|
+
}
|
|
904
|
+
],
|
|
905
|
+
"docs": "The identifier of the relying party.",
|
|
906
|
+
"complexTypes": [],
|
|
907
|
+
"type": "string"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "timeout",
|
|
911
|
+
"tags": [
|
|
912
|
+
{
|
|
913
|
+
"text": "0.1.0",
|
|
914
|
+
"name": "since"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"text": "60000",
|
|
918
|
+
"name": "example"
|
|
919
|
+
}
|
|
920
|
+
],
|
|
921
|
+
"docs": "The time in milliseconds that the caller is willing to wait for the\noperation to complete.\n\nOnly available on Android and Web.",
|
|
922
|
+
"complexTypes": [],
|
|
923
|
+
"type": "number | undefined"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"name": "userVerification",
|
|
927
|
+
"tags": [
|
|
928
|
+
{
|
|
929
|
+
"text": "0.1.0",
|
|
930
|
+
"name": "since"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"text": "'preferred'",
|
|
934
|
+
"name": "default"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"text": "'required'",
|
|
938
|
+
"name": "example"
|
|
939
|
+
}
|
|
940
|
+
],
|
|
941
|
+
"docs": "The user verification requirement.",
|
|
942
|
+
"complexTypes": [
|
|
943
|
+
"PasskeyUserVerification"
|
|
944
|
+
],
|
|
945
|
+
"type": "PasskeyUserVerification"
|
|
946
|
+
}
|
|
947
|
+
]
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "IsAvailableResult",
|
|
951
|
+
"slug": "isavailableresult",
|
|
952
|
+
"docs": "",
|
|
953
|
+
"tags": [
|
|
954
|
+
{
|
|
955
|
+
"text": "0.1.0",
|
|
956
|
+
"name": "since"
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"methods": [],
|
|
960
|
+
"properties": [
|
|
961
|
+
{
|
|
962
|
+
"name": "available",
|
|
963
|
+
"tags": [
|
|
964
|
+
{
|
|
965
|
+
"text": "0.1.0",
|
|
966
|
+
"name": "since"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"text": "true",
|
|
970
|
+
"name": "example"
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
"docs": "Whether or not passkeys are available on this device.",
|
|
974
|
+
"complexTypes": [],
|
|
975
|
+
"type": "boolean"
|
|
976
|
+
}
|
|
977
|
+
]
|
|
978
|
+
}
|
|
979
|
+
],
|
|
980
|
+
"enums": [],
|
|
981
|
+
"typeAliases": [
|
|
982
|
+
{
|
|
983
|
+
"name": "PasskeyAuthenticatorAttachment",
|
|
984
|
+
"slug": "passkeyauthenticatorattachment",
|
|
985
|
+
"docs": "The authenticator attachment modality.",
|
|
986
|
+
"types": [
|
|
987
|
+
{
|
|
988
|
+
"text": "'cross-platform'",
|
|
989
|
+
"complexTypes": []
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"text": "'platform'",
|
|
993
|
+
"complexTypes": []
|
|
994
|
+
}
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "PasskeyTransport",
|
|
999
|
+
"slug": "passkeytransport",
|
|
1000
|
+
"docs": "A transport that an authenticator supports.",
|
|
1001
|
+
"types": [
|
|
1002
|
+
{
|
|
1003
|
+
"text": "'ble'",
|
|
1004
|
+
"complexTypes": []
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"text": "'hybrid'",
|
|
1008
|
+
"complexTypes": []
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"text": "'internal'",
|
|
1012
|
+
"complexTypes": []
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"text": "'nfc'",
|
|
1016
|
+
"complexTypes": []
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"text": "'smart-card'",
|
|
1020
|
+
"complexTypes": []
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"text": "'usb'",
|
|
1024
|
+
"complexTypes": []
|
|
1025
|
+
}
|
|
1026
|
+
]
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"name": "PasskeyAttestation",
|
|
1030
|
+
"slug": "passkeyattestation",
|
|
1031
|
+
"docs": "The attestation conveyance preference.",
|
|
1032
|
+
"types": [
|
|
1033
|
+
{
|
|
1034
|
+
"text": "'direct'",
|
|
1035
|
+
"complexTypes": []
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"text": "'enterprise'",
|
|
1039
|
+
"complexTypes": []
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"text": "'indirect'",
|
|
1043
|
+
"complexTypes": []
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"text": "'none'",
|
|
1047
|
+
"complexTypes": []
|
|
1048
|
+
}
|
|
1049
|
+
]
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"name": "PasskeyResidentKey",
|
|
1053
|
+
"slug": "passkeyresidentkey",
|
|
1054
|
+
"docs": "The extent to which the relying party desires to create a\ndiscoverable credential (passkey).",
|
|
1055
|
+
"types": [
|
|
1056
|
+
{
|
|
1057
|
+
"text": "'discouraged'",
|
|
1058
|
+
"complexTypes": []
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"text": "'preferred'",
|
|
1062
|
+
"complexTypes": []
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"text": "'required'",
|
|
1066
|
+
"complexTypes": []
|
|
1067
|
+
}
|
|
1068
|
+
]
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"name": "PasskeyUserVerification",
|
|
1072
|
+
"slug": "passkeyuserverification",
|
|
1073
|
+
"docs": "The user verification requirement.\n\n- `discouraged`: The relying party prefers no user verification.\n- `preferred`: The relying party prefers user verification but will\n not fail the operation without it.\n- `required`: The relying party requires user verification.",
|
|
1074
|
+
"types": [
|
|
1075
|
+
{
|
|
1076
|
+
"text": "'discouraged'",
|
|
1077
|
+
"complexTypes": []
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"text": "'preferred'",
|
|
1081
|
+
"complexTypes": []
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"text": "'required'",
|
|
1085
|
+
"complexTypes": []
|
|
1086
|
+
}
|
|
1087
|
+
]
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"pluginConfigs": []
|
|
1091
|
+
}
|