new SetTokenRequest(app, config, logger)
Create service
Parameters:
| Name | Type | Description |
|---|---|---|
app |
App | The application |
config |
object | Configuration |
logger |
Logger | Logger service |
Members
-
<static> provides :string
-
Service name is 'daemon.events.setTokenRequest'
Type:
- string
-
<static> requires :Array.<string>
-
Dependencies as constructor arguments
Type:
- Array.<string>
-
name :string
-
Event name
Type:
- string
Methods
-
<async> handle(id, message)
-
Event handler
Parameters:
Name Type Description idstring ID of the client messageobject The message Returns:
- Type
- Promise