CredentialsManager

public protocol CredentialsManager

Credentials manager protocol.

  • Indicates if the credentials manager is available to use.

    Declaration

    Swift

    var available: Bool
  • Finds the user’s login information based on the given URL domain. The view controller passed as a parameter is used to display the front end UI for getting the login.

    • Parameters:
      • url: The credentials domain.
      • viewController: The view controller for UI display logic.
      • sender: The action sender.
      • completion: The completion block containing either the user credentials or an error.

    Declaration

    Swift

    func findLogin(forURLString url: String,

    Parameters

    url

    The credentials domain.

    viewController

    The view controller for UI display logic.

    sender

    The action sender.

    completion

    The completion block containing either the user credentials or an error.