CredentialProtectionExtensionAuthenticatorInput implements RegistrationExtensionAuthenticatorInput { @Override public String getIdentifier() { return ID; } CredentialProtectionExtensionAuthenticatorInput(CredentialProtectionPolicy credProtect); @Override String getIdentifier(); CredentialProtectionPolicy getCredProtect(); @Override Serializable getValue(String key); @Override void validate(); static final String ID; static final String KEY_CRED_PROTECT; }
@Test void getIdentifier_test(){ CredentialProtectionExtensionAuthenticatorInput target = new CredentialProtectionExtensionAuthenticatorInput(CredentialProtectionPolicy.USER_VERIFICATION_OPTIONAL_WITH_CREDENTIAL_ID_LIST); assertThat(target.getIdentifier()).isEqualTo(CredentialProtectionExtensionAuthenticatorInput.ID); }