PROTOCOL

HaapiConfigurable

public protocol HaapiConfigurable

Configuration options for HaapiManager.

Properties

name

var name: String

The name of the configuration. This value should be unique for each HaapiManager. Otherwise, the application will terminate.

clientId

var clientId: String

The client ID as configured in the Curity Identity Server.

baseURL

var baseURL: URL

The base URL of the Curity Identity Server. Used to resolve relative links. Not the issuer ID.

tokenEndpointURL

var tokenEndpointURL: URL

The token endpoint URL.

authorizationEndpointURL

var authorizationEndpointURL: URL

The authorization endpoint URL.

appRedirect

var appRedirect: String

The client application's redirect URI, used in authorization requests. (Deep link)

urlSession

var urlSession: URLSession

The URLSession that is used to perform network requests.

isAutoRedirect

var isAutoRedirect: Bool

Whether HaapiManager will automatically follow redirection steps.