Function prepareGeoComplyAuthorization

  • Runs the KSS -> authorize -> verify chain and caches the resulting location token. Can be called independently of any player instance.

    Parameters

    • config: MKEnvironmentConfig

      the environment configuration used to reach KSS/GeoComply.

    • Optional errorCallback: MKGeoComplyErrorCallback

      receives details of any failure.

    Returns Promise<boolean>

    true on success, false otherwise.