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

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)