One Logo Pool Ball
Foundation · IOS API REFERENCE

URLProtectionSpace

class · iOS 2.0+ · SDK 27.1

class URLProtectionSpace

Members (12)

init · iOS 2.0+

init

TypeScript
static initHostPortProtocolRealmAuthenticationMethod(host: string, port: number, protocol?: (string) | null, realm?: (string) | null, authenticationMethod?: (string) | null): URLProtectionSpace
Swift declaration
init(host: String, port: Int, protocol: String?, realm: String?, authenticationMethod: String?)
init · iOS 2.0+

init

TypeScript
static initProxyHostPortTypeRealmAuthenticationMethod(host: string, port: number, type?: (string) | null, realm?: (string) | null, authenticationMethod?: (string) | null): URLProtectionSpace
Swift declaration
init(proxyHost host: String, port: Int, type: String?, realm: String?, authenticationMethod: String?)
method · iOS 2.0+

isProxy

TypeScript
isProxy(): boolean
Swift declaration
func isProxy() -> Bool
get · iOS 2.0+

authenticationMethod

TypeScript
get authenticationMethod(): string
Swift declaration
var authenticationMethod: String { get }
get · iOS 3.0+

distinguishedNames

TypeScript
get distinguishedNames(): (Array<ArrayBuffer>) | null
Swift declaration
var distinguishedNames: [Data]? { get }
get · iOS 2.0+

host

TypeScript
get host(): string
Swift declaration
var host: String { get }
get · iOS 2.0+

port

TypeScript
get port(): number
Swift declaration
var port: Int { get }
get · iOS 2.0+

protocol

TypeScript
get protocol(): (string) | null
Swift declaration
var `protocol`: String? { get }
get · iOS 2.0+

proxyType

TypeScript
get proxyType(): (string) | null
Swift declaration
var proxyType: String? { get }
get · iOS 2.0+

realm

TypeScript
get realm(): (string) | null
Swift declaration
var realm: String? { get }
get · iOS 2.0+

receivesCredentialSecurely

TypeScript
get receivesCredentialSecurely(): boolean
Swift declaration
var receivesCredentialSecurely: Bool { get }
get · iOS 3.0+

serverTrust

TypeScript
get serverTrust(): (_Security_SecTrust) | null
Swift declaration
var 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 →