GMSPlacesAppCheckTokenProvider
@protocol GMSPlacesAppCheckTokenProvider <NSObject>
Protocol for providing App Check tokens for Places SDK.
-
Fetches an App Check token.
Declaration
Swift
func fetchAppCheckToken() async throws -> String
Objective-C
- (void)fetchAppCheckTokenWithCompletion: (nonnull GMSAppCheckTokenCompletion)completion;
Parameters
completion
The
GMSAppCheckTokenCompletion
to invoke when a token is fetched.