SafetyLocationsConfiguration
public struct SafetyLocationsConfiguration
Configuration parameters for safety location data sources.
API key for the Safety Locations API.
Declaration
Swift
public let apiKey: String
Optional authentication URI. If no value is provided, the data source uses the following default URI: “https://api.tomtom.com/safetycameras/1/auth/token”.
Declaration
Swift
public let authenticationServerURI: String?
Configuration parameters for safety location data sources.
Declaration
Swift
public init(
apiKey: String,
authenticationServerURI: String? = nil
)
Parameters
apiKey
|
API key for the Safety Locations API. |
authenticationServerURI
|
a URI to be used for authentication requests. If no value is provided, the data source uses the following default URI: “https://api.tomtom.com/safetycameras/1/auth/token”. |