Page Summary
-
The
GMSPlacesAppCheckTokenProviderprotocol 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
@protocol GMSPlacesAppCheckTokenProvider <NSObject>Protocol for providing App Check tokens for Places SDK.
-
Fetches an App Check token.
Declaration
Swift
func fetchAppCheckToken() async throws -> StringObjective-C
- (void)fetchAppCheckTokenWithCompletion: (nonnull GMSAppCheckTokenCompletion)completion;Parameters
completionThe
GMSAppCheckTokenCompletionto invoke when a token is fetched.