mage | mage
MAGE API Documentation

Here you will find both the API documentation for MAGE.
New to MAGE? Looking for a list of features or configuration options? You should have a look at the user documentation first.
Frequently Used APIs
| Name | Description |
|---|---|
| MAGE | MAGE general APIs (start, stop, initialization and configuration) |
| State | Transactional state object (mostly provided by user commands) |
| Archivist | Database access layer |
| Logger | Logging and log levels |
| Configuration | Configuration access |
| Core | MAGE Core APIs (HTTP Server, MsgServer, etc.) |
See also
Index
Type aliases
AuthenticateCallback
Authenticate
Type declaration
-
- (error: Error | null, userId: string | number, acl: string[]): void
-
Parameters
-
error: Error | null
-
userId: string | number
-
acl: string[]
Returns void
-
BanCallback
Ban
Type declaration
-
- (error: Error | null): void
-
Parameters
-
error: Error | null
Returns void
-
ChangePasswordCallback
Change
Type declaration
-
- (error: Error | null): void
-
Parameters
-
error: Error | null
Returns void
-
ConfigurationLabel
Configuration
LoginCallback
Login
MmrpEnvelopeFlag
Mmrp
MmrpEnvelopeMessage
Mmrp
MmrpEnvelopeRoute
Mmrp
RegisterCallback
Register
Type declaration
-
- (error: Error | null, userId: string): void
-
Parameters
-
error: Error | null
-
userId: string
Returns void
-
ServiceErrorEventHandler
Service
Type declaration
-
- (error: Error): void
-
Parameters
-
error: Error
Returns void
-
ServiceEventHandler
Service
Type declaration
-
- (serviceNode: IServiceNode): void
-
Parameters
-
serviceNode: IServiceNode
Returns void
-
ServiceEventName
Service
TimeConfig
Time
Type declaration
-
acceleration
Factor: number -
offset: number
-
start
At: number
UnbanCallback
Unban
Type declaration
-
- (error: Error | null): void
-
Parameters
-
error: Error | null
Returns void
-
VaultOperation
Vault