Interface OutOfBandAuthentication

All Superinterfaces:
HttpOperation<OutOfBandAuthentication>, Operation

public interface OutOfBandAuthentication extends HttpOperation<OutOfBandAuthentication>
The operation handling an out-of-band authentication. This is the object returned by the SDK, when a OutOfBandPayload was processed and the OutOfBandPayload corresponds to an authentication operation.

Example:

 private void authenticateUsingOutOfBandPayload(Operations operations, OutOfBandPayload payload) {
     operations.outOfBandOperation()
         .payload(payload)
         .onAuthentication(authentication ->
             authentication.authenticatorSelector((ctx, consumer) -> {
                 // select authenticator
             })
             .pinUserVerifier(pinUserVerifier)
             .fingerprintUserVerifier(fingerprintUserVerifier)
             .biometricUserVerifier(biometricUserVerifier)
             .onError(error -> {
                 // handle error
             })
             .onSuccess(() -> {
                 // handle success
             })
             .execute())
         .onRegistration(registration -> {
             // handle registration
         })
         .onError(error -> {
             // handle out-of-band error
         })
         .execute();
 }
 
See Also: