編輯

共用方式為


NSUrlSessionAuthChallengeDisposition Enum

Definition

An enumeration whose values specify the state of an authorization challenge.

public enum NSUrlSessionAuthChallengeDisposition
type NSUrlSessionAuthChallengeDisposition = 
Inheritance
NSUrlSessionAuthChallengeDisposition

Fields

Name Value Description
UseCredential 0
PerformDefaultHandling 1
CancelAuthenticationChallenge 2
RejectProtectionSpace 3

Remarks

Instances of this type are passed as an argument to the completion handler callback in DidReceiveChallenge(NSUrlSession, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>) and its overrides.

Applies to