From b7a2aad17d9f53b922c0605d090690270659411c Mon Sep 17 00:00:00 2001 From: Michael Edwards Date: Wed, 20 Mar 2019 21:17:23 +0100 Subject: [PATCH] Add credentials field alias `encoded_auth_blob` is used in the credentials response of the Facebook auth flow --- core/src/authentication.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/authentication.rs b/core/src/authentication.rs index 1ab29d1d..07c014f9 100644 --- a/core/src/authentication.rs +++ b/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,