use of com.webauthn4j.data.extension.client.FIDOAppIDExtensionClientInput in project webauthn4j by webauthn4j.
the class AuthenticationExtensionsClientInputsConverterTest method convert_test.
@Test
void convert_test() {
String source = "{\"appid\":\"dummy\"}";
AuthenticationExtensionsClientInputs<AuthenticationExtensionClientInput> clientInputs = authenticationExtensionsClientInputsConverter.convert(source);
assertThat(clientInputs.getExtension(FIDOAppIDExtensionClientInput.class)).isEqualTo(new FIDOAppIDExtensionClientInput("dummy"));
}
Aggregations