Foundation · IOS API REFERENCE
URLProtectionSpace
class · iOS 2.0+ · SDK 27.1
class URLProtectionSpace
Members (12)
init · iOS 2.0+init
TypeScriptstatic initHostPortProtocolRealmAuthenticationMethod(host: string, port: number, protocol?: (string) | null, realm?: (string) | null, authenticationMethod?: (string) | null): URLProtectionSpace
Swift declarationinit(host: String, port: Int, protocol: String?, realm: String?, authenticationMethod: String?)
init · iOS 2.0+init
TypeScriptstatic initProxyHostPortTypeRealmAuthenticationMethod(host: string, port: number, type?: (string) | null, realm?: (string) | null, authenticationMethod?: (string) | null): URLProtectionSpace
Swift declarationinit(proxyHost host: String, port: Int, type: String?, realm: String?, authenticationMethod: String?)
method · iOS 2.0+isProxy
TypeScriptisProxy(): boolean
Swift declarationfunc isProxy() -> Bool
get · iOS 2.0+authenticationMethod
TypeScriptget authenticationMethod(): string
Swift declarationvar authenticationMethod: String { get }
get · iOS 3.0+distinguishedNames
TypeScriptget distinguishedNames(): (Array<ArrayBuffer>) | null
Swift declarationvar distinguishedNames: [Data]? { get }
get · iOS 2.0+host
TypeScriptget host(): string
Swift declarationvar host: String { get }
get · iOS 2.0+port
TypeScriptget port(): number
Swift declarationvar port: Int { get }
get · iOS 2.0+protocol
TypeScriptget protocol(): (string) | null
Swift declarationvar `protocol`: String? { get }
get · iOS 2.0+proxyType
TypeScriptget proxyType(): (string) | null
Swift declarationvar proxyType: String? { get }
get · iOS 2.0+realm
TypeScriptget realm(): (string) | null
Swift declarationvar realm: String? { get }
get · iOS 2.0+receivesCredentialSecurely
TypeScriptget receivesCredentialSecurely(): boolean
Swift declarationvar receivesCredentialSecurely: Bool { get }
get · iOS 3.0+serverTrust
TypeScriptget serverTrust(): (_Security_SecTrust) | null
Swift declarationvar serverTrust: SecTrust? { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
URLProtectionSpace.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Foundation types →