NSURLProtectionSpace Authentication Method Constants NSURLProtectionSpace認証メソッド定数

Constants describing known values of the authenticationMethod property of a URLProtectionSpace. あるURLProtectionSpaceauthenticationMethodプロパティの基地の値を記述する定数。

Overview 概要

These constants are also used with the URLProtectionSpace initializers init(host:port:protocol:realm:authenticationMethod:) and init(proxyHost:port:type:realm:authenticationMethod:). これら定数はまた、URLProtectionSpaceのイニシャライザinit(host:port:protocol:realm:authenticationMethod:)init(proxyHost:port:type:realm:authenticationMethod:)で使われます。

Topics 話題

Session-Wide Authentication Challenges セッション単位認証チャレンジ

These constants indicate session-wide challenges. Delegates handle these challenges in the URLSessionDelegate method urlSession(_:didReceive:completionHandler:). これら定数は、セッション単位のチャレンジを指し示します。委任先は、これらチャレンジをURLSessionDelegateのメソッドurlSession(_:didReceive:completionHandler:)において取り扱います。

Task-Specific Authentication Challenges タスク特有認証チャレンジ

These constants indicate task-specific challenges. Delegates handle these challenges in the URLSessionTaskDelegate method urlSession(_:task:didReceive:completionHandler:). これら定数は、タスク単位のチャレンジを指し示します。委任先は、これらチャレンジをURLSessionTaskDelegateのメソッドurlSession(_:task:didReceive:completionHandler:)において取り扱います。

See Also 参照

Identifying Protection Space Properties 保護空間プロパティを識別する

Related Documentation 関連文書