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 -> UIButtonParameters
iconImageNameThe icon image name to use.
bundleThe 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
urlThe credentials domain.
viewControllerThe view controller for UI display logic.
senderThe action sender.
completionThe completion block containing either the user credentials or an error.
OnePasswordManager Class Reference