Class: OauthAppMethods
| Defined in: | src/methods/oauth-app-methods.coffee |
Instance Method Summary
- # (void) create(accountId, objs = {}, options = {}, cb = function() {}) Bound Create a new oauth client.
- # (void) all(accountId, options = {}, cb = function() {}) Bound Retrieves all oauth apps for a specific accountId
- # (void) getAppsForUser(accountId, owningUserId, options = {}, cb = function() {}) Bound Retrieves apps for a specific user, within the accountId scope.
- # (void) get(oauthAppId, options = {}, cb = function() {}) Bound returns a specific oauth app.
- # (void) destroy(oauthAppId, options = {}, cb = function() {}) Bound Completely destroys an app.
- # (void) resetAppKeys(oauthAppId, options = {}, cb = function() {}) Bound Reset the app keys for an app.
- # (void) patch(oauthAppId, obj = {}, options = {}, cb = function() {}) Bound Update an app.
Constructor Details
#
(void)
constructor(models, scopeMethods)
Instance Method Details
#
(void)
create(accountId, objs = {}, options = {}, cb = function() {})
Bound
Create a new oauth client.
#
(void)
all(accountId, options = {}, cb = function() {})
Bound
Retrieves all oauth apps for a specific accountId
#
(void)
getAppsForUser(accountId, owningUserId, options = {}, cb = function() {})
Bound
Retrieves apps for a specific user, within the accountId scope.
#
(void)
get(oauthAppId, options = {}, cb = function() {})
Bound
returns a specific oauth app.
#
(void)
destroy(oauthAppId, options = {}, cb = function() {})
Bound
Completely destroys an app.
#
(void)
resetAppKeys(oauthAppId, options = {}, cb = function() {})
Bound
Reset the app keys for an app.
#
(void)
patch(oauthAppId, obj = {}, options = {}, cb = function() {})
Bound
Update an app.