Module with api originators endpoint handlers
- Source:
- Tutorials:
Methods
(inner) deleteAuthToken(req, res, operationId, callback)
Deletes an authentication token of an originator
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) deleteOriginator(req, res, operationId, callback)
Updates originator state data
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) deletePreSharedKey(req, res, operationId, callback)
Deletes pre-shared key for an originator
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) getAuthToken(req, res, operationId, callback)
Checks for an authentication token of an originator
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) getOriginator(req, res, operationId, callback)
Provides current originator state from state module
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) getOriginators(req, res, operationId, callback)
Provides current state of all originators from state module
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) getPreSharedKey(req, res, operationId, callback)
Checks for pre-shared key for an originator
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) storeAuthToken(req, res, operationId, callback)
Stores an authentication token for an originator
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) storePreSharedKey(req, res, operationId, callback)
Stores or updates pre-shared key for an originator
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source:
(inner) updateOriginator(req, res, operationId, callback)
Updates originator state data
Parameters:
Name | Type | Description |
---|---|---|
req |
Object | the http request |
res |
Object | the http response |
operationId |
string | the operation id as defined in the openapi definition |
callback |
logEndpointEventCb |
- Source: