RogersAuthenticator
public class RogersAuthenticator : Authenticator
Class to authenticate with Rogers Bank
Call login to authenticate and receive a User instance
-
Delegate for authentication
Declaration
Swift
public weak var delegate: RogersAuthenticatorDelegate? -
Initialize the authenticator
Declaration
Swift
public required init() -
Authenticate with Rogers Bank
Declaration
Swift
public func login(username: String, password: String, deviceId: String?, completion: @escaping (Result<User, DownloadError>) -> Void)Parameters
usernameusername to login
passwordpassword to login
deviceIddeviceId to use if saved - otherwise a new random one will be generated
completionreturns a User or a Download Error
View on GitHub
Install in Dash