Class: UserSupportAuthList
UserSupportAuthList
new UserSupportAuthList()
Create a new instance of Support_auths
Properties:
| Name | Type | Description |
|---|---|---|
authorizations |
Array | Array of authorizations. |
Source: User/UserSupportAuthList.js, line 28
See:
Methods
generate_xml(email, expires, baseUrl)
Generates a save/update xml to be posted to the server.
Parameters:
| Name | Type | Description |
|---|---|---|
email |
String | The email of the user for the support authorization. |
expires |
Date | The expiering date of the support authorization. |
baseUrl |
String | base URL. If not set the current base URL will be used. |
Source: User/UserSupportAuthList.js, line 102
generateUrl()
Overrides Resource's generateUrl method to return the request url
Source: User/UserSupportAuthList.js, line 47
See:
loadPreset()
Overrides Resource's loadPreset method.
Source: User/UserSupportAuthList.js, line 41
See:
loadSet(rObject)
Overrides Resource's loadSet method to set local variables after request.
Parameters:
| Name | Type | Description |
|---|---|---|
rObject |
json | JSON representation of the loaded data. |
Source: User/UserSupportAuthList.js, line 57
See:
save(options)
Create new support authorizations for a specific user.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
object | options to be used during the call |
onSuccess |
Resource~onSuccess | a callback function called in case of a success |
onFailure |
Resource~onFailure | a callback function called in case of a failure |
baseUrl |
String | base URL. If not set the current base URL will be used |
email |
String | email of the user to authorize |
expires |
Date | expiration daate |
Source: User/UserSupportAuthList.js, line 91