@@ -241,6 +241,20 @@ impl CredentialManager {
241241 ) )
242242 }
243243 }
244+
245+ async fn get_client_capabilities ( & self ) -> fdo:: Result < GetClientCapabilitiesResponse > {
246+ Ok ( GetClientCapabilitiesResponse {
247+ conditional_create : false ,
248+ conditional_get : false ,
249+ hybrid_transport : false ,
250+ passkey_platform_authenticator : false ,
251+ user_verifying_platform_authenticator : false ,
252+ related_origins : false ,
253+ signal_all_accepted_credentials : false ,
254+ signal_current_user_details : false ,
255+ signal_unknown_credential : false ,
256+ } )
257+ }
244258}
245259
246260async fn create_password (
@@ -838,6 +852,20 @@ impl From<GetPublicKeyCredentialResponse> for GetCredentialResponse {
838852 }
839853}
840854
855+ #[ derive( SerializeDict , Type ) ]
856+ #[ zvariant( signature = "dict" ) ]
857+ pub struct GetClientCapabilitiesResponse {
858+ conditional_create : bool ,
859+ conditional_get : bool ,
860+ hybrid_transport : bool ,
861+ passkey_platform_authenticator : bool ,
862+ user_verifying_platform_authenticator : bool ,
863+ related_origins : bool ,
864+ signal_all_accepted_credentials : bool ,
865+ signal_current_user_details : bool ,
866+ signal_unknown_credential : bool ,
867+ }
868+
841869fn format_client_data_json (
842870 op : Operation ,
843871 challenge : & str ,
0 commit comments