NMACookieSessionProvider
public class NMACookieSessionProvider : NSObject, NMASessionProvider
An HTTP cookie based NMASessionProvider
.
-
Cookies that can be used to do authorization on the server.
Declaration
Swift
@objc public let cookies: [HTTPCookie]
-
Creates a new cookie based authorization provider.
Declaration
Swift
@objc public init(_ cookies: [HTTPCookie])
Parameters
cookies
A list of valid session cookies that can be used to do authorization on the server.
-
Declaration
Swift
public required init?(dictionary: [String : Any])
-
Declaration
Swift
public var asDictionary: [String : Any]? { get }