ServerSecurityCallback typedef

ServerSecurityCallback = Map<String, Credentials> Function(String id)

Function signature for a synchronous callback retrieving server Credentials by Thing id at runtime.

The returned hash map should map the keys of the individual Security Definitions to concrete Credentials.

Note: The exact API for retrieving server Credentials is still Work in Progress.

Implementation

typedef ServerSecurityCallback = Map<String, Credentials> Function(String id);