@@ -289,10 +289,11 @@ impl InternalClient {
289289 /// This includes the user key, tokens, and encrypted private/signing keys
290290 #[ cfg( feature = "internal" ) ]
291291 pub fn export_session ( & self ) -> Result < String , CryptoError > {
292- use crate :: key_management:: { AsymmetricKeyId , SymmetricKeyId } ;
293292 use bitwarden_encoding:: B64 ;
294293 use serde:: { Deserialize , Serialize } ;
295294
295+ use crate :: key_management:: { AsymmetricKeyId , SymmetricKeyId } ;
296+
296297 #[ derive( Serialize , Deserialize ) ]
297298 struct SessionData {
298299 user_key : String ,
@@ -346,11 +347,12 @@ impl InternalClient {
346347 /// This includes restoring the user key, private key, and setting tokens
347348 #[ cfg( feature = "internal" ) ]
348349 pub fn import_session ( & self , session : & str ) -> Result < ( ) , CryptoError > {
349- use crate :: key_management:: { AsymmetricKeyId , SymmetricKeyId } ;
350350 use bitwarden_crypto:: { AsymmetricCryptoKey , Pkcs8PrivateKeyBytes } ;
351351 use bitwarden_encoding:: B64 ;
352352 use serde:: { Deserialize , Serialize } ;
353353
354+ use crate :: key_management:: { AsymmetricKeyId , SymmetricKeyId } ;
355+
354356 #[ derive( Serialize , Deserialize ) ]
355357 struct SessionData {
356358 user_key : String ,
0 commit comments