Creates a credential object T
from the file descriptor specific config
Creates a credential object T
from the file descriptor specific config
the config containing specific keys required to create a
credential object T
for the file descriptor
the credential object T
Returns an unique id from the given file descriptor path to use when accessing the config
Returns an unique id from the given file descriptor path to use when accessing the config
the file descriptor path
an unique id from the given file descriptor path
Reads from the config file and given the file descriptor path converted to
an unique id by the ìd
function, extracts a credentials object T
.
Reads from the config file and given the file descriptor path converted to
an unique id by the ìd
function, extracts a credentials object T
.
the config file with the credentials keys
the file descriptor path to be converted to an unique id
the credential object T
Trait that describes how a
FileDescriptor
extracts credentials from a config.The config file must follow the following structure:
The
default
is optional and is used as a fallback when the file descriptor id matches none of the credentials ids.The type of credential config that is extracted
The type of credential object that is extracted