# GooglePlacesSwift Framework Reference

# AppCheckTokenProvider

    protocol AppCheckTokenProvider : Sendable

A protocol for fetching the App Check token.
- `


  ### [fetchAppCheckToken()](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Protocols/AppCheckTokenProvider#/s:17GooglePlacesSwift21AppCheckTokenProviderP05fetchdeF0SSyYaKF)


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