| Home | Trees | Indices | Help |
|
|---|
|
|
Class encapsulating actions related to online storage
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Authenticate the current user for a Provider. This is a one-time process and must be done only once for each user. PamFax API will perform the login and store only an authentication token which will be enaugh for future use of the service. Arguments: provider -- Provider name. See OnlineStorage::ListProviders for available providers. username -- The user's name/login for the provider password -- User's password to access his data at the provider side |
Will drop the users authentication for the given provider. This will permanently erase all data related to the account! |
Outputs a providers logo in a given size. Call ListProviders for valid sizes per Provider. |
Lists all files and folders inside a given folder. Leave folder empty to get the contents of the root folder. User must be autheticated for the provider given here to be able to recieve listings (see Authenticate method). If clear_cache is set to true all subitems will be deleted and must be refetched (previously cached UUIDs are invalid) |
Manually sets auth token for the current user. token must contain an associative array including the tokens. sample (google): 'auth_token_cp'=>DQAAAHoAAADCrkpB7Ip_vuelbla2UKE9s_ObVKTNA_kT6Ej26SwddJvMUmEz_9qbLlZJnsAdm583Sddp_0FYS9QmmwoUpf51RHxkgPUL20OqsdAP5OnCgY_TdVbvXX8tMQBBX30V4_NhTcE_0sI6zhba5Y3yZWV5nljliG98eA36ybekKucuhQ 'auth_token_writely'=>DQAAAHoAAADCrkpB7Ip_vuelbla2UKE9s_ObVKTNA_kT6Ej62SDwdJvMUmEz_9qbLlZJnsAdm583Sddp_0FYS9QmmwoUpf51RHxkgPUL20OqsdAP5OnCgY_TdVbvXX8tMQBBX30V4_NhTcE_0sI6zhba5Y3yZWV5nljliG98eA36ybekKucuhQ 'auth_token_wise'=>DQAAAHoAAADCrkpB7Ip_vuelbla2UKE9s_ObVKTNA_kT6Ej26SDdwJvMUmEz_9qbLlZJnsAdm583Sddp_0FYS9QmmwoUpf51RHxkgPUL20OqsdAP5OnCgY_TdVbvXX8tMQBBX30V4_NhTcE_0sI6zhba5Y3yZWV5nljliG98eA36ybekKucuhQ 'auth_token_lh2'=>DQAAAHoAAADCrkpB7Ip_vuelbla2UKE9s_ObkvTNA_kT6Ej26SDwdJvMUmEz_9qbLlZJnsAdm583Sddp_0FYS9QmmwoUpf51RHxkgPUL20OqsdAP5OnCgY_TdVbvXX8tMQBBX30V4_NhTcE_0sI6zhba5Y3yZWV5nljliG98eA36ybekKucuhQ Arguments: provider -- Provider name token -- Associative array with token information username -- Optional username (for displaying purposes) |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Sep 21 21:30:31 2011 | http://epydoc.sourceforge.net |