Package ch.nevis.auth.fido.uaf.sdk
Interface Configurable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An object that can be configured during startup using some generic configuration. It is the
responsibility of the implementing class to parse the configuration.
A dispatcher can implement this interface to receive the configuration that is defined
in the nevisfido.yml file.
-
Method Summary
-
Method Details
-
configure
Provides the configuration of the dispatcher as aMap. For example, if the dispatcher is calledmy-dispatcherand the nevisFIDO configuration has the following values:- type: my-dispatcher redeem-url: https://siven/redeem
TheMapprovided by this map will contain the keyredeem-urland the valuehttps://siven/redeem.- Parameters:
configuration- the configuration. Note that theMapis immutable. Any action to modify its contents will throw anUnsupportedOperationException- Throws:
InvalidConfigurationException- if the provided configuration is not valid
-