GooglePlacesSwift Framework Reference
AppCheckTokenProvider
protocol AppCheckTokenProvider
A protocol for fetching the App Check token.
-
Fetches the App Check token.
Throws
An error if the token cannot be fetched.
Declaration
Swift
func fetchAppCheckToken() async throws -> String
Return Value
The App Check token.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-08 UTC.
[null,null,["Last updated 2024-11-08 UTC."],[[["`AppCheckTokenProvider` is a protocol used for fetching an App Check token."],["It defines a single asynchronous function, `fetchAppCheckToken()`, which retrieves the token and may throw an error if unsuccessful."]]],[]]