Interface DispatchTarget
public interface DispatchTarget
The entity with all the information associated with an entity to which tokens can be sent.
-
Method Summary
-
Method Details
-
name
String name()A user friendly name to identify thisDispatchTarget. For example in the case of a target sending tokens to a mobile device, this could beSamsung Galaxy.- Returns:
- the user friendly name
-
target
The target description. This can be a simple identifier (for example fcm push identifier, or an email address) or a more complex data (like a tuple of email SMTP server and email address). It contains the information required by the dispatcher to dispatch a token.Some dispatchers (deep link, QR code) do not require a
target: because of their nature the destination is implicit (i.e. they are dispatched to the nevisFIDO HTTP client). This is why this property is optional. This is useful for example in the case where no push notifications are needed.- Returns:
- the target
-
encryptionKey
The optional encryption key that is used to encrypt the token before sending it through the dispatcher. It is a Json Web Key (JSON asString).- Returns:
- the key to be used to encrypt the token
-
deviceId
The optional identifier describing the device. The goal of this attribute is to allow linking FIDO UAF credentials and the dispatch targets.- Returns:
- the device ID
-