STRUCT

HaapiInsecureConfigurationRefusal

Contents

public struct HaapiInsecureConfigurationRefusal: Error, Equatable, Sendable

The cause of a refused session setup: a configured identity-server address does not use https, and the configuration does not permit insecure addresses — or permits http and the address uses neither https nor http. Nothing was sent.

Reported as HaapiError.invalidURLResponse with the error insecure_haapi_configuration when a HaapiManager or an accessor is created. Configure the address with an https URL, or permit http deliberately for a local development server; retrying gives the same result.

Properties

address

public let address: Address

Which configured address does not use https. Its value is never kept.