API documentation automatically generated by docmeteor.
File: "lib/utils.js" Where: {client|server}
extends the user schema and updates the stored schema
Arguments
- schemaObject {Object}
Returns Boolean true = schema updated false = schema not updated
storeSchema: function (type, label, key) { ...
lib/utils.js:39
returns the current user schema - if changed it returns from database
Returns Object current User Schema
getGlobalKeys: function () { ...
lib/utils.js:72
Changes the current user schema -> removes a key and updates the database
Returns Boolean true = updated schema false = key to remove does not exists
removeUserKey: function (key) { ...
lib/utils.js:86
File: "server/methods.js" Where: {server}
Generates a random password
Returns String
password with length 10
generatePassword = function () { ...
server/methods.js:10
creates a user without password
Arguments
- doc {Object}
Returns Boolean
true = create user successfull
createUserWithoutPassword: function (doc) { ...
server/methods.js:38
removes a user
Arguments
- userId {String}
Returns Boolean
true = remove user successfull
removeUser: function (userId) { ...
server/methods.js:62
checks if a given username already exists
Arguments
- username {String}
Returns Boolean
true = username is existing false = username not existing
checkUsernameExisting: function (username) { ...
server/methods.js:123
checks if a given email already exists
Arguments
- email {String}
Returns Boolean
true = email is existing false = email not existing
checkEmailExisting: function (email) { ...
server/methods.js:137
File: "lib/core.js" Where: {server|client}
Routes configuration can be done by calling UserManagementTemplates.configureRoute with the route name and the
following options in a separate object. E.g. UserManagementTemplates.configureRoute("gingIn", option);
name: String (optional). A unique route"s name to be passed to iron-router
path: String (optional). A unique route"s path to be passed to iron-router
template: String (optional). The name of the template to be rendered
layoutTemplate: String (optional). The name of the layout to be used
This property ROUTE_DEFAULT is defined in prototype
of UM
UM.prototype.ROUTE_DEFAULT = { ...
lib/core.js:24