This PR simply builds a UserIdentity in step 6 of FinishAssertionSteps (from the existing information) and passes it through to the final AssertionResult. For now, this does not enable additional functionality; however, it is necessary groundwork for being able to specify UserIdentity in StartAssertionOptions in the future.
I've also taken the liberty of restructuring step 6 a bit to make it easier to follow.
This is part of the
UserIdentity
work I proposed in https://github.com/Yubico/java-webauthn-server/issues/289#issuecomment-1572100280; I am breaking it down into smaller parts for ease of review.This PR simply builds a
UserIdentity
in step 6 ofFinishAssertionSteps
(from the existing information) and passes it through to the finalAssertionResult
. For now, this does not enable additional functionality; however, it is necessary groundwork for being able to specifyUserIdentity
inStartAssertionOptions
in the future.I've also taken the liberty of restructuring step 6 a bit to make it easier to follow.