public interface BindingAuthn
This interface is separate from the
CredentialRetrieval to provide an endpoint-only view on a
credential retrieval (what is needed by the endpoint to get authN results from an authenticator).
CredentialRetrieval is an extension with methods used by the engine to initialize the
instance. The implementations will implement a binding specific interface (extension of this interface
IMPORTANT: The implementation MUST be thread safe by being immutable. Perfectly - stateless. This is because a single instance of the retrieval of the implemented type will be created per retrieval configuration defined in the system. And this retrieval can be used in many places. If binding-specific contract requires stateful credential retrieval (e.g. by providing a UI) this must be achieved by using factory method(s) in the binding-specific retrieval interface.
Copyright © 2018 Unity. All rights reserved.