BasicAuthenticator
public struct BasicAuthenticator : IAuthenticator
                The BasicAuthenticator class is an authenticator that will authenticate using HTTP Basic auth with the given username and password. This should only be used over an SSL/TLS connection, as otherwise it’s very easy for anyone sniffing network traffic to read the password.
- 
                  
                  
The username.
Declaration
Swift
public let username: String - 
                  
                  
The password.
Declaration
Swift
public let password: String - 
                  
                  
Initializes with the username and password.
Declaration
Swift
public init(username: String, password: String)Parameters
usernameThe username
passwordThe password
 
        BasicAuthenticator Structure Reference