googleapis / googleapis/google-api-nodejs-client
`safetyNetToken` missing in identitytoolkit_v3
- Vorherrschende Sprache
- TypeScript
- Sterne
- 12.2k
- Forks
- 2k
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 24
Beschreibung
In the [REST API documentation](https://cloud.google.com/identity-platform/docs/reference/rest/v1/accounts/sendVerificationCode) of Identity Platform, it's mentioned that we can pass a safetyNetToken argument to `sendVerificationToken` for android devices.
This argument is not missing from the [`Schema$IdentitytoolkitRelyingpartySendVerificationCodeRequest`](https://github.com/googleapis/google-api-nodejs-client/blob/main/discovery/identitytoolkit-v3.json#L871-L893) interface, when other platform-specific arguments are specified.
Is it intentional? Is there something I'm missing? Is v3 a new version of the Identity Platform API that doesn't support this argument anymore?
Also `verifyIOSClient` is missing, but it's needed to be able to provide the iosReceipt and iosSecret requested in this method right?
Beitragsleitfaden
Rechercherichtung
Vergleiche die REST API-Dokumentation mit discovery/identitytoolkit-v3.json im Hinblick auf Schema$IdentitytoolkitRelyingpartySendVerificationCodeRequest. Prüfe, ob safetyNetToken und verifyIOSClient von dieser API-Version unterstützt werden und ob das generierte TypeScript-Interface das Quellschema widerspiegelt. Als erledigt gilt die Aufgabe, wenn das Schema und das Interface die unterstützten Request-Felder korrekt dokumentieren oder das Issue geklärt ist, falls sie absichtlich fehlen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- node.js, typescript
- Bereich
- api, authentication
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100