@@ -241,6 +241,20 @@ impl CredentialManager {
241
241
) )
242
242
}
243
243
}
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
+ }
244
258
}
245
259
246
260
async fn create_password (
@@ -838,6 +852,20 @@ impl From<GetPublicKeyCredentialResponse> for GetCredentialResponse {
838
852
}
839
853
}
840
854
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
+
841
869
fn format_client_data_json (
842
870
op : Operation ,
843
871
challenge : & str ,
0 commit comments