Class: OauthAppMethods
| Defined in: | src/methods/oauth-app-methods.coffee |
Constant Summary
- KEY_LENGTH =
-
20 - SECRET_LENGTH =
-
40 - APP_CREATE_FIELDS =
-
['name', 'websiteUrl', 'imageUrl', 'notes', 'tosAcceptanceDate', 'scope', 'description', 'acceptTermsOfService', 'isPublished', 'organizationName', 'organizationUrl']
Instance Method Summary
- - (void) constructor(models, scopeMethods) Constructor
- - (void) create(objs = {}, actor, cb) Bound
- - (void) all(offset = 0, count = 25, cb) Bound
- - (void) getAppsForUser(owningUserId, offset = 0, count = 25, cb) Bound
- - (void) getApp(oauthAppId, cb) Bound
- - (void) delete(oauthAppId, cb) Bound
- - (void) deleteApp(oauthAppId, cb) Bound
- - (void) resetAppKeys(oauthAppId, cb) Bound
- - (void) update(oauthAppId, data = {}, cb) Bound
- - (void) updateApp(oauthAppId, data = {}, cb) Bound
Constructor Details
- (void) constructor(models, scopeMethods)
Instance Method Details
- (void) create(objs = {}, actor, cb) (bound)
- (void) all(offset = 0, count = 25, cb) (bound)
- (void) getAppsForUser(owningUserId, offset = 0, count = 25, cb) (bound)
- (void) getApp(oauthAppId, cb) (bound)
- (void) delete(oauthAppId, cb) (bound)
- (void) deleteApp(oauthAppId, cb) (bound)
- (void) resetAppKeys(oauthAppId, cb) (bound)
- (void) update(oauthAppId, data = {}, cb) (bound)
- (void) updateApp(oauthAppId, data = {}, cb) (bound)