OnePasswordManager

public class OnePasswordManager: CredentialsManager, CredentialsInterfaceDisplayable

1Password manager implementation relying on credentials logic.

  • 1Password manager implementation relying on credentials logic.

    Declaration

    Swift

    public var available: Bool
  • Default initializer.

    Declaration

    Swift

    public init()
  • Default initializer.

    Declaration

    Swift

    public func button(iconImageName: String = "onepassword-button",
                           bundle: Bundle? = nil) throws -> UIButton

    Parameters

    iconImageName

    The icon image name to use.

    bundle

    The bundle to use for the image.

    Return Value

    The button to use.

  • Default initializer.

    Declaration

    Swift

    public func findLogin(forURLString url: String,
                              viewController: UIViewController,
                              sender: Any?,
                              completion: @escaping (_ user: Credentials?, _ error: CredentialsError?) -> Void)

    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.