URLCredentialStorageMonitor

public class URLCredentialStorageMonitor : BaseNotificationMonitor

A URLCredentialStorageMonitor instance monitors the shared URL credential storage object for changes to its stored credentials.

  • Encapsulates changes to the credential storage.

    See more

    Declaration

    Swift

    public enum Event
  • Initializes a new URLCredentialStorageMonitor.

    Declaration

    Swift

    public init(queue: OperationQueue = .main,
                handler: @escaping (Event) -> Void)

    Parameters

    queue

    The operation queue on which the handler executes. By default, the main operation queue is used.

    handler

    The handler to call when the set of stored URL credentials changes.

  • Declaration

    Swift

    override public func addNotificationObservers()