public void Upgrade()
        {
            var crypto = new EncodingCryptoProvider();

            SecuredDataTestHelper.TestUpgrade(
                OidcIdentityProvider.OidcIdentityProvider_Type,
                OidcIdentityProvider.OidcClientSecret_Field.As <Field>(),
                OidcIdentityProvider.OidcClientSecretSecureId_Field.As <Field>(),
                (s) => crypto.EncryptAndEncode(s)
                );
        }
示例#2
0
        public void Upgrade()
        {
            var crypto = new EncodingCryptoProvider();

            SecuredDataTestHelper.TestUpgrade(
                TenantEmailSetting.TenantEmailSetting_Type,
                TenantEmailSetting.SmtpPassword_Field.As <Field>(),
                TenantEmailSetting.SmtpPasswordSecureId_Field.As <Field>(),
                (s) => crypto.EncryptAndEncode(s)
                );
        }
        public void Upgrade()
        {
            var crypto = new EncodingCryptoProvider();

            SecuredDataTestHelper.TestUpgrade(
                ImapServerSettings.ImapServerSettings_Type,
                ImapServerSettings.ImapPassword_Field.As <Field>(),
                ImapServerSettings.ImapPasswordSecureId_Field.As <Field>(),
                (s) => crypto.EncryptAndEncode(s)
                );
        }