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.
httpHeadersProvider
var httpHeadersProvider: HttpHeadersProvider?
The http headers provider used for Haapi requests.
authorizationParametersProvider
var authorizationParametersProvider: OAuthAuthorizationParametersProvider?
An optional closure that produces the authorization request parameters that will be used when accessing the authorization endpoint.
minTokenTtl
var minTokenTtl: TimeInterval
The minimum time to live that an access token must have to be used in a request, otherwise a new access token is retrieved and used.
attestationConfiguration
var attestationConfiguration: AttestationConfiguration
The DeviceCheck
attestation mechanism configuration settings (applicable only to physical devices).
tokenBoundConfiguration
var tokenBoundConfiguration: TokenBoundConfiguration
The configuration for the dpop proof binding mechanism settings.