summaryrefslogtreecommitdiff
path: root/chromium/device/fido/fido_authenticator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/device/fido/fido_authenticator.cc')
-rw-r--r--chromium/device/fido/fido_authenticator.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/device/fido/fido_authenticator.cc b/chromium/device/fido/fido_authenticator.cc
index 1555716ef4b..72a09dbfe9b 100644
--- a/chromium/device/fido/fido_authenticator.cc
+++ b/chromium/device/fido/fido_authenticator.cc
@@ -26,6 +26,8 @@ void FidoAuthenticator::GetPinRetries(
void FidoAuthenticator::GetPINToken(
std::string pin,
+ const std::vector<pin::Permissions>& permissions,
+ base::Optional<std::string> rp_id,
FidoAuthenticator::GetTokenCallback callback) {
NOTREACHED();
}
@@ -35,7 +37,12 @@ void FidoAuthenticator::GetUvRetries(
NOTREACHED();
}
+bool FidoAuthenticator::CanGetUvToken() {
+ return false;
+}
+
void FidoAuthenticator::GetUvToken(
+ base::Optional<std::string> rp_id,
FidoAuthenticator::GetTokenCallback callback) {
NOTREACHED();
}
@@ -121,6 +128,10 @@ void FidoAuthenticator::BioEnrollDelete(const pin::TokenResponse&,
NOTREACHED();
}
+base::Optional<base::span<const int32_t>> FidoAuthenticator::GetAlgorithms() {
+ return base::nullopt;
+}
+
void FidoAuthenticator::Reset(ResetCallback callback) {
std::move(callback).Run(CtapDeviceResponseCode::kCtap1ErrInvalidCommand,
base::nullopt);
@@ -134,4 +145,8 @@ bool FidoAuthenticator::SupportsCredProtectExtension() const {
return Options() && Options()->supports_cred_protect;
}
+bool FidoAuthenticator::SupportsHMACSecretExtension() const {
+ return false;
+}
+
} // namespace device