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).
The 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
and the CredentialRetrieval
.
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.
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Called when endpoint using this implementation is destroyed.
|
String |
getAuthenticatorId() |
String |
getBindingName() |
Copyright © 2019 Unity. All rights reserved.