/var/www/flurhymez/vendor/google/apiclient-services/src/Firebaseappcheck/Resource
NameSizeModeActions
Jwks.php19110644editdlrm
Projects.php10890644editdlrm
ProjectsApps.php135650644editdlrm
ProjectsAppsAppAttestConfig.php40770644editdlrm
ProjectsAppsDebugTokens.php63280644editdlrm
ProjectsAppsDeviceCheckConfig.php44230644editdlrm
ProjectsAppsRecaptchaConfig.php43380644editdlrm
ProjectsAppsRecaptchaEnterpriseConfig.php43980644editdlrm
ProjectsAppsSafetyNetConfig.php40760644editdlrm
ProjectsServices.php59810644editdlrm
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Firebaseappcheck/Resource/ProjectsApps.php (13565B)
* $firebaseappcheckService = new Google\Service\Firebaseappcheck(...); * $apps = $firebaseappcheckService->apps; * */ class ProjectsApps extends \Google\Service\Resource { /** * Accepts an App Attest assertion and an artifact previously obtained from * ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns * an App Check token encapsulated in an AttestationTokenResponse. * (apps.exchangeAppAttestAssertion) * * @param string $app Required. The relative resource name of the iOS app, in * the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the * `project_number` element can be replaced with the project ID of the Firebase * project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaAttestationTokenResponse */ public function exchangeAppAttestAssertion($app, GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('exchangeAppAttestAssertion', [$params], GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class); } /** * Accepts an App Attest CBOR attestation and verifies it with Apple using the * developer's preconfigured team and bundle IDs. If valid, returns an * attestation artifact that can later be exchanged for an * AttestationTokenResponse using ExchangeAppAttestAssertion. For convenience * and performance, this method's response object will also contain an App Check * token encapsulated in an AttestationTokenResponse (if the verification is * successful). (apps.exchangeAppAttestAttestation) * * @param string $app Required. The relative resource name of the iOS app, in * the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the * `project_number` element can be replaced with the project ID of the Firebase * project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse */ public function exchangeAppAttestAttestation($app, GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('exchangeAppAttestAttestation', [$params], GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse::class); } /** * Validates a custom token signed using your project's Admin SDK service * account credentials. If valid, returns an App Check token encapsulated in an * AttestationTokenResponse. (apps.exchangeCustomToken) * * @param string $app Required. The relative resource name of the app, in the * format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the * `project_number` element can be replaced with the project ID of the Firebase * project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaAttestationTokenResponse */ public function exchangeCustomToken($app, GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('exchangeCustomToken', [$params], GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class); } /** * Validates a debug token secret that you have previously created using * CreateDebugToken. If valid, returns an App Check token encapsulated in an * AttestationTokenResponse. Note that a restrictive quota is enforced on this * method to prevent accidental exposure of the app to abuse. * (apps.exchangeDebugToken) * * @param string $app Required. The relative resource name of the app, in the * format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the * `project_number` element can be replaced with the project ID of the Firebase * project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaAttestationTokenResponse */ public function exchangeDebugToken($app, GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('exchangeDebugToken', [$params], GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class); } /** * Accepts a [`device_token`](https://developer.apple.com/documentation/devicech * eck/dcdevice) issued by DeviceCheck, and attempts to validate it with Apple. * If valid, returns an App Check token encapsulated in an * AttestationTokenResponse. (apps.exchangeDeviceCheckToken) * * @param string $app Required. The relative resource name of the iOS app, in * the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the * `project_number` element can be replaced with the project ID of the Firebase * project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaAttestationTokenResponse */ public function exchangeDeviceCheckToken($app, GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('exchangeDeviceCheckToken', [$params], GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class); } /** * Validates a [reCAPTCHA Enterprise response token](https://cloud.google.com * /recaptcha-enterprise/docs/create-assessment#retrieve_token). If valid, * returns an App Check token encapsulated in an AttestationTokenResponse. * (apps.exchangeRecaptchaEnterpriseToken) * * @param string $app Required. The relative resource name of the web app, in * the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the * `project_number` element can be replaced with the project ID of the Firebase * project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaAttestationTokenResponse */ public function exchangeRecaptchaEnterpriseToken($app, GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('exchangeRecaptchaEnterpriseToken', [$params], GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class); } /** * Validates a [reCAPTCHA v3 response * token](https://developers.google.com/recaptcha/docs/v3). If valid, returns an * App Check token encapsulated in an AttestationTokenResponse. * (apps.exchangeRecaptchaToken) * * @param string $app Required. The relative resource name of the web app, in * the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the * `project_number` element can be replaced with the project ID of the Firebase * project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaAttestationTokenResponse */ public function exchangeRecaptchaToken($app, GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('exchangeRecaptchaToken', [$params], GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class); } /** * Validates a [SafetyNet * token](https://developer.android.com/training/safetynet/attestation#request- * attestation-step). If valid, returns an App Check token encapsulated in an * AttestationTokenResponse. (apps.exchangeSafetyNetToken) * * @param string $app Required. The relative resource name of the Android app, * in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, * the `project_number` element can be replaced with the project ID of the * Firebase project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaAttestationTokenResponse */ public function exchangeSafetyNetToken($app, GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('exchangeSafetyNetToken', [$params], GoogleFirebaseAppcheckV1betaAttestationTokenResponse::class); } /** * 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. * (apps.generateAppAttestChallenge) * * @param string $app Required. The relative resource name of the iOS app, in * the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the * `project_number` element can be replaced with the project ID of the Firebase * project. Learn more about using project identifiers in Google's [AIP * 2510](https://google.aip.dev/cloud/2510) standard. * @param GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest $postBody * @param array $optParams Optional parameters. * @return GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse */ public function generateAppAttestChallenge($app, GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest $postBody, $optParams = []) { $params = ['app' => $app, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('generateAppAttestChallenge', [$params], GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsApps::class, 'Google_Service_Firebaseappcheck_Resource_ProjectsApps');