GooglePlacesSwift Framework Reference

  • 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.

AppCheckTokenProvider

protocol AppCheckTokenProvider : Sendable

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.