ListenerPasswordAuthenticator
@available(macOS 10.12, iOS 10.0, *)
public class ListenerPasswordAuthenticator : _ListenerAuthenticator
ENTERPRISE EDITION ONLY.
Password Authenticator for the URLEndpointListener.
-
Initialize with the authenticator closure for verifying client credientials
Declaration
Swift
public init(authenticator: @escaping (_ username: String, _ password: String) -> Bool)