Proxy credentials cache. More...
Instance Methods | |
(FMLiveSwitchManagedConcurrentDictionary< NSString *, FMLiveSwitchProxyCredentials * > *) | - cache |
Gets the underlying cache. More... | |
(FMLiveSwitchProxyCredentials *) | - defaultCredentials |
Gets the default credentials. More... | |
(FMLiveSwitchProxyCredentials *) | - getCredentialsWithProxyIPAddress: |
Gets the proxy credentials for the given proxy IP address. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchProxyCredentialsCache class. More... | |
(void) | - setCredentialsWithProxyIPAddress:proxyCredentials: |
Sets the proxy credentials for the given proxy IP address. More... | |
(void) | - setCredentialsWithProxyIPAddresses:proxyCredentials: |
Sets the proxy credentials for the given proxy IP addresss. More... | |
(void) | - setDefaultCredentials: |
Sets the default credentials. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
Class Methods | |
(FMLiveSwitchProxyCredentialsCache *) | + fromJsonWithInstanceJson: |
Deserializes an instance from JSON. More... | |
(FMLiveSwitchProxyCredentialsCache *) | + proxyCredentialsCache |
Initializes a new instance of the FMLiveSwitchProxyCredentialsCache class. More... | |
(NSString *) | + toJsonWithInstance: |
Serializes an instance to JSON. More... | |
Proxy credentials cache.
Gets the underlying cache.
- (FMLiveSwitchProxyCredentials*) defaultCredentials |
Gets the default credentials.
+ (FMLiveSwitchProxyCredentialsCache*) fromJsonWithInstanceJson: | (NSString *) | instanceJson |
Deserializes an instance from JSON.
instanceJson | The serialized JSON. |
- (FMLiveSwitchProxyCredentials*) getCredentialsWithProxyIPAddress: | (NSString *) | proxyIPAddress |
Gets the proxy credentials for the given proxy IP address.
proxyIPAddress | The proxy IP address. |
null
. - (instancetype) init |
Initializes a new instance of the FMLiveSwitchProxyCredentialsCache class.
+ (FMLiveSwitchProxyCredentialsCache*) proxyCredentialsCache |
Initializes a new instance of the FMLiveSwitchProxyCredentialsCache class.
- (void) setCredentialsWithProxyIPAddress: | (NSString *) | proxyIPAddress | |
proxyCredentials: | (FMLiveSwitchProxyCredentials *) | proxyCredentials | |
Sets the proxy credentials for the given proxy IP address.
proxyIPAddress | The proxy IP address. |
proxyCredentials | The proxy credentials. |
- (void) setCredentialsWithProxyIPAddresses: | (NSMutableArray *) | proxyIPAddresses | |
proxyCredentials: | (FMLiveSwitchProxyCredentials *) | proxyCredentials | |
Sets the proxy credentials for the given proxy IP addresss.
proxyIPAddresses | The proxy IP addresses. |
proxyCredentials | The proxy credentials. |
- (void) setDefaultCredentials: | (FMLiveSwitchProxyCredentials *) | value |
Sets the default credentials.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonWithInstance: | (FMLiveSwitchProxyCredentialsCache *) | instance |
Serializes an instance to JSON.
instance | The instance. |