NWTcpConnectionAuthenticationDelegate.ProvideIdentity 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
呼叫以提供身分識別和選擇性憑證的方法。
[Foundation.Export("provideIdentityForConnection:completionHandler:")]
public virtual void ProvideIdentity (NetworkExtension.NWTcpConnection connection, Action<Security.SecIdentity,Foundation.NSArray> completion);
abstract member ProvideIdentity : NetworkExtension.NWTcpConnection * Action<Security.SecIdentity, Foundation.NSArray> -> unit
override this.ProvideIdentity : NetworkExtension.NWTcpConnection * Action<Security.SecIdentity, Foundation.NSArray> -> unit
參數
- connection
- NWTcpConnection
- completion
- Action<SecIdentity,NSArray>
- 屬性