Foundation · IOS API REFERENCE
URLAuthenticationChallenge
class · iOS 2.0+ · SDK 27.1
class URLAuthenticationChallenge
Members (8)
init · iOS 2.0+init
TypeScriptstatic initAuthenticationChallengeSender(challenge: URLAuthenticationChallenge, sender: Implements<URLAuthenticationChallengeSender> | SDKHandle): URLAuthenticationChallenge
Swift declarationinit(authenticationChallenge challenge: URLAuthenticationChallenge, sender: any URLAuthenticationChallengeSender)
init · iOS 2.0+init
TypeScriptstatic initProtectionSpaceProposedCredentialPreviousFailureCountFailureResponseErrorSender(space: URLProtectionSpace, credential: (URLCredential) | null, previousFailureCount: number, response: (URLResponse) | null, error: (NativeError) | null, sender: Implements<URLAuthenticationChallengeSender> | SDKHandle): URLAuthenticationChallenge
Swift declarationinit(protectionSpace space: URLProtectionSpace, proposedCredential credential: URLCredential?, previousFailureCount: Int, failureResponse response: URLResponse?, error: (any Error)?, sender: any URLAuthenticationChallengeSender)
get · iOS 2.0+error
TypeScriptget error(): (NativeError) | null
Swift declarationvar error: (any Error)? { get }
get · iOS 2.0+failureResponse
TypeScriptget failureResponse(): (URLResponse) | null
Swift declaration@NSCopying var failureResponse: URLResponse? { get }
get · iOS 2.0+previousFailureCount
TypeScriptget previousFailureCount(): number
Swift declarationvar previousFailureCount: Int { get }
get · iOS 2.0+proposedCredential
TypeScriptget proposedCredential(): (URLCredential) | null
Swift declaration@NSCopying var proposedCredential: URLCredential? { get }
get · iOS 2.0+protectionSpace
TypeScriptget protectionSpace(): URLProtectionSpace
Swift declaration@NSCopying var protectionSpace: URLProtectionSpace { get }
get · iOS 2.0+sender
TypeScriptget sender(): (SDKHandle) | null
Swift declarationvar sender: (any URLAuthenticationChallengeSender)? { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
URLAuthenticationChallenge.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Foundation types →