OauthClients
class OauthClients extends Resource (View source)
The "oauthClients" collection of methods.
Typical usage is:
$firebaseappcheckService = new Google\Service\Firebaseappcheck(...);
$oauthClients = $firebaseappcheckService->oauthClients;
Methods
Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken. (oauthClients.exchangeAppAttestAssertion)
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). (oauthClients.exchangeAppAttestAttestation)
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. (oauthClients.exchangeDebugToken)
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.
Details
GoogleFirebaseAppcheckV1AppCheckToken
exchangeAppAttestAssertion(string $app, GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest $postBody, array $optParams = [])
Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken. (oauthClients.exchangeAppAttestAssertion)
GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse
exchangeAppAttestAttestation(string $app, GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest $postBody, array $optParams = [])
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). (oauthClients.exchangeAppAttestAttestation)
GoogleFirebaseAppcheckV1AppCheckToken
exchangeDebugToken(string $app, GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest $postBody, array $optParams = [])
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. (oauthClients.exchangeDebugToken)
GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
generateAppAttestChallenge(string $app, GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest $postBody, array $optParams = [])
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.
(oauthClients.generateAppAttestChallenge)