Xweather Authenticator
Request authenticator used by WeatherService and source descriptors.
Builds signed headers / query params from account. Hosts typically use the instance on WeatherService.authenticator rather than constructing this type directly.
Parameters
account
Client credentials.
server
Token / API host (defaults to the MapsGL production server).
Functions
Link copied to clipboard
Template variables merged into tile / metadata URLs by com.xweather.mapsgl.utils.replaceVars. Use {accessKey} (id + _ + secret), {clientId}, or {clientSecret} in URL strings when the source sets com.xweather.mapsgl.sources.source.spec.VectorSourceDescriptor.authenticator (or other descriptors that carry the same authenticator).
Link copied to clipboard