Credentials
public class Credentials
Contains a basic common set of credential elements.
-
The host name.
Declaration
Swift
public let host : String
-
The username.
Declaration
Swift
public let username : String
-
The password.
Declaration
Swift
public let password : String
-
The port.
Declaration
Swift
public let port : Int
-
Indicates whether the credentials are secured or not.
Declaration
Swift
public let secured : Bool
-
The URL.
Declaration
Swift
public let url : String
-
Initalizes an instance of
Credentials
.Declaration
Swift
public init?(username: String? = nil, password: String? = nil, url: String)