Hubwiz.com
|
Online Course
|
API Manual
Loopback API Manual
Function(182)
Function
All Modules
LoopBack
Version 2.29.0 (latest)
Class: LoopBackApplication
app.connector
app.dataSource
app.enableAuth
app.listen
app.model
app.models
app.remoteObjects
app.remotes
app.middlewareFromConfig
app.defineMiddlewarePhases
app.middleware
Class: loopback
loopback.autoAttach
loopback.configureModel
loopback.createDataSource
loopback.createModel
loopback.findModel
loopback.getDefaultDataSourceForType
loopback.getModel
loopback.getModelByType
if
loopback.memory
loopback.remoteMethod
loopback.setDefaultDataSourceForType
loopback.template
Class: Registry
addACL
registry.autoAttach
loopback.configureModel
registry.createDataSource
loopback.createModel
loopback.findModel
registry.getDefaultDataSourceForType
loopback.getModel
loopback.getModelByType
registry.memory
loopback.setDefaultDataSourceForType
loopback.getCurrentContext
loopback.runInContext
loopback.createContext
Class: AccessContext
accessContext.addPrincipal
accessContext.getAppId
accessContext.getUserId
accessContext.isAuthenticated
Class: AccessRequest
accessRequest.exactlyMatches
accessRequest.isAllowed
accessRequest.isWildcard
Class: Principal
principal.equals
Base models
Class: Model
Model.checkAccess
Model.disableRemoteMethod
Model.getApp
Model.nestRemoting
Model.remoteMethod
Model.setup
Class: PersistedModel
PersistedModel.bulkUpdate
PersistedModel.changes
PersistedModel.checkpoint
PersistedModel.count
PersistedModel.create
PersistedModel.createChangeStream
PersistedModel.createUpdates
PersistedModel.currentCheckpoint
PersistedModel.destroyAll
PersistedModel.destroyById
PersistedModel.diff
PersistedModel.enableChangeTracking
PersistedModel.exists
PersistedModel.find
PersistedModel.findById
PersistedModel.findOne
PersistedModel.findOrCreate
PersistedModel.getChangeModel
PersistedModel.getIdName
PersistedModel.getSourceId
PersistedModel.handleChangeError
PersistedModel.rectifyChange
PersistedModel.replicate
PersistedModel.updateAll
PersistedModel.upsert
persistedModel.destroy
persistedModel.getId
persistedModel.getIdName
persistedModel.isNewRecord
persistedModel.reload
persistedModel.save
persistedModel.setId
persistedModel.updateAttribute
persistedModel.updateAttributes
Middleware
loopback.context
loopback.favicon
loopback.rest
loopback.static
loopback.status
rewriteUserLiteral
loopback.token
loopback.urlNotFound
Built-in models
Class: AccessToken
AccessToken.createAccessTokenId
AccessToken.findForRequest
accessToken.validate
Class: ACL
ACL.checkAccessForContext
ACL.checkAccessForToken
ACL.checkPermission
ACL.getMatchingScore
ACL.isMappedToRole
ACL.resolvePrincipal
aCL.score
Class: Application
Application.authenticate
Application.register
Application.resetKeys
application.resetKeys
Class: Change
Change.bothDeleted
Change.diff
Change.findOrCreateChange
Change.getCheckpointModel
Change.hash
Change.idForModel
Change.rectifyAll
Change.rectifyModelChanges
Change.revisionForInst
change.conflictsWith
change.currentRevision
change.equals
change.getModelCtor
change.isBasedOn
change.rectify
change.type
Class: Change.Conflict
conflict.changes
conflict.models
conflict.resolve
conflict.resolveManually
conflict.resolveUsingSource
conflict.resolveUsingTarget
conflict.swapParties
conflict.type
Class: Email
Email.send
email.send
Class: Role
Role.getRoles
Role.isAuthenticated
Role.isInRole
Role.isOwner
Role.registerResolver
Class: RoleMapping
roleMapping.application
roleMapping.childRole
roleMapping.user
Class: Scope
Scope.checkPermission
Class: User
User.confirm
User.generateVerificationToken
User.login
User.logout
User.normalizeCredentials
User.resetPassword
user.createAccessToken
user.hasPassword
user.verify
createUpdates()
Change
Change.diff()
create
Model
PersistedModel