Method | Description | |
---|---|---|
DeleteUserIp ( string user_id, string ip ) : |
Deletes an IP and forbides API access for it.
|
|
GetUserIps ( string user_id ) : List |
IP's from which access to API is allowed.
|
|
ShowUserAPI ( string user_id ) : |
Information about API.
|
|
ShowUserAPIKey ( string user_id ) : |
Shows the API key
|
|
UpdateAPIIps ( List |
Allows a new IP
|
|
UpdateAPIKey ( string user_id ) : |
Changes the API key
|
|
UpdateUserAPI ( string user_id, bool active ) : |
Allows to enable or disable the API.
|
|
UserAPI ( object _apiUrl = null, object _apiKey = null ) : System |
public DeleteUserIp ( string user_id, string ip ) : |
||
user_id | string | Unique user's identifier. |
ip | string | Desired IP |
return |
public ShowUserAPI ( string user_id ) : |
||
user_id | string | |
return |
public ShowUserAPIKey ( string user_id ) : |
||
user_id | string | |
return |
public UpdateAPIIps ( List |
||
ips | List |
|
user_id | string | Unique user's identifier. |
return |
public UpdateAPIKey ( string user_id ) : |
||
user_id | string | Unique user's identifier. |
return |
public UpdateUserAPI ( string user_id, bool active ) : |
||
user_id | string | Unique user's identifier. |
active | bool | |
return |
public UserAPI ( object _apiUrl = null, object _apiKey = null ) : System | ||
_apiUrl | object | |
_apiKey | object | |
return | System |