@maxim_mazurok/gapi.client.firebaseappcheck-v1
Advanced tools
Comparing version 0.0.20240506 to 0.0.20240528
{ | ||
"name": "@maxim_mazurok/gapi.client.firebaseappcheck-v1", | ||
"version": "0.0.20240506", | ||
"version": "0.0.20240528", | ||
"description": "TypeScript typings for Firebase App Check API v1", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -79,2 +79,30 @@ # TypeScript typings for Firebase App Check API v1 | ||
await gapi.client.firebaseappcheck.jwks.get({name: 'name'}); | ||
/* | ||
Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken. | ||
*/ | ||
await gapi.client.firebaseappcheck.oauthClients.exchangeAppAttestAssertion({ | ||
app: 'app', | ||
}); | ||
/* | ||
Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful). | ||
*/ | ||
await gapi.client.firebaseappcheck.oauthClients.exchangeAppAttestAttestation({ | ||
app: 'app', | ||
}); | ||
/* | ||
Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method to prevent accidental exposure of the app to abuse. | ||
*/ | ||
await gapi.client.firebaseappcheck.oauthClients.exchangeDebugToken({ | ||
app: 'app', | ||
}); | ||
/* | ||
Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused for multiple calls. | ||
*/ | ||
await gapi.client.firebaseappcheck.oauthClients.generateAppAttestChallenge({ | ||
app: 'app', | ||
}); | ||
``` |
Sorry, the diff of this file is too big to display
145602
2318
108