소스 검색

Add credentials field alias

`encoded_auth_blob` is used in the credentials response of the Facebook auth flow
Michael Edwards 6 년 전
부모
커밋
b7a2aad17d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/src/authentication.rs

+ 1 - 0
core/src/authentication.rs

@@ -22,6 +22,7 @@ pub struct Credentials {
     #[serde(deserialize_with = "deserialize_protobuf_enum")]
     pub auth_type: AuthenticationType,
 
+    #[serde(alias = "encoded_auth_blob")]
     #[serde(serialize_with = "serialize_base64")]
     #[serde(deserialize_with = "deserialize_base64")]
     pub auth_data: Vec<u8>,