public void OnAfterDeserialize()
        {
            SerializationTools.FixSerializationForString(ref this._identityToken);
            SerializationTools.FixSerializationForString(ref this._authorizationCode);
            SerializationTools.FixSerializationForString(ref this._state);
            SerializationTools.FixSerializationForString(ref this._user);
            SerializationTools.FixSerializationForString(ref this._email);

            SerializationTools.FixSerializationForArray(ref this._authorizedScopes);

            SerializationTools.FixSerializationForObject(ref this._fullName, this._hasFullName);

            SerializationTools.FixSerializationForFullPersonName(ref this._fullName);
        }
示例#2
0
        public void OnAfterDeserialize()
        {
            SerializationTools.FixSerializationForString(ref this._base64IdentityToken);
            SerializationTools.FixSerializationForString(ref this._base64AuthorizationCode);
            SerializationTools.FixSerializationForString(ref this._state);
            SerializationTools.FixSerializationForString(ref this._user);
            SerializationTools.FixSerializationForString(ref this._email);

            SerializationTools.FixSerializationForArray(ref this._authorizedScopes);

            SerializationTools.FixSerializationForObject(ref this._fullName, this._hasFullName);

            this._identityToken     = SerializationTools.GetBytesFromBase64String(this._base64IdentityToken, "_identityToken");
            this._authorizationCode = SerializationTools.GetBytesFromBase64String(this._base64AuthorizationCode, "_authorizationCode");
        }
 public void OnAfterDeserialize()
 {
     SerializationTools.FixSerializationForObject(ref this._credentialState, this._hasCredentialState);
     SerializationTools.FixSerializationForObject(ref this._error, this._hasError);
 }
 public void OnAfterDeserialize()
 {
     SerializationTools.FixSerializationForObject(ref this._error, this._hasError);
     SerializationTools.FixSerializationForObject(ref this._appleIdCredential, this._hasAppleIdCredential);
     SerializationTools.FixSerializationForObject(ref this._passwordCredential, this._hasPasswordCredential);
 }
示例#5
0
        public override void OnAfterDeserialize()
        {
            base.OnAfterDeserialize();

            SerializationTools.FixSerializationForObject(ref this._phoneticRepresentation, this._hasPhoneticRepresentation);
        }