Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The GMSPlacesAppCheckTokenProvider protocol supplies App Check tokens for the Places SDK.
This protocol features a method, fetchAppCheckTokenWithCompletion, to retrieve an App Check token asynchronously, which is essential for secure communication with the Places SDK.
GMSPlacesAppCheckTokenProvider
@protocolGMSPlacesAppCheckTokenProvider<NSObject>
Protocol for providing App Check tokens for Places SDK.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[],["The `GMSPlacesAppCheckTokenProvider` protocol is used to acquire App Check tokens for the Places SDK. It defines a method, `fetchAppCheckTokenWithCompletion:`, which fetches an App Check token. In Swift this is an `async` function that returns a string. In Objective-C, it takes a `GMSAppCheckTokenCompletion` block as a parameter that will be called upon completion with the token. The completion parameter is essential for handling the fetched token.\n"]]