Authentication
public struct Authentication
An Authentication for RESTful Services.
var authentication = Authentication()
authentication.credential = URLCredential(
user: "user",
password: "password",
persistence: .forSession
)
-
The default authentication.
Declaration
Swift
public static var `default`: Authentication -
The credential.
nilby default.Declaration
Swift
public var credential: URLCredential? -
AuthenticationIntializerDeclaration
Swift
public init()Return Value
new
Authenticationobject
Authentication Structure Reference