Click or drag to resize

SecureConfigurationManagerTConfig Methods

The SecureConfigurationManagerTConfig generic type exposes the following members.

Methods
  NameDescription
Public methodDeserialize
Deserializes a configuration text into an object.
Public methodGetSchema
Resolves a schema for the configuration class based on the user's security level.
Public methodLoad
Loads the configuration object from storage.
Public methodLoadRedactedText(IConfigurationRequestContext)
Loads the configuration text so that is safe to show in MFAdmin. All password fields will be redacted. As a safety precaution, this method Throws an exception if the configuration is not valid json, and user is not a sysadmin. This is the only way to ensure non-sysadmins do not see sensitive information.
Public methodLoadRedactedText(Vault, SecurityAttributeUserLevel)
Loads the configuration text so that is safe to show in MFAdmin. All password fields will be redacted. As a safety precaution, this method Throws an exception if the configuration is not valid json, and user is not a sysadmin. This is the only way to ensure non-sysadmins do not see sensitive information.
Public methodLoadText
Load the configuration text from storage.
Public methodSave
Saves the raw configuration text to storage.
Public methodSaveRedactedText(IConfigurationRequestContext, String)
Saves a configuration text, ensuring that: 1. It is valid json (parseable). 2. No settings were modified that should be restricted for the current user. 3. Any passwords that were redacted when provided to the user, are restored first. If previous version cannot be parsed, no passwords would have been redacted, so this check isn't done, However, we would not have provided the unparseable text to vaultAdmins, so we don't allow them to save in this situation either.
Public methodSaveRedactedText(Vault, SecurityAttributeUserLevel, String)
Saves a configuration text, ensuring that: 1. It is valid json (parseable). 2. No settings were modified that should be restricted for the current user. 3. Any passwords that were redacted when provided to the user, are restored first. If previous version cannot be parsed, no passwords would have been redacted, so this check isn't done, However, we would not have provided the unparseable text to vaultAdmins, so we don't allow them to save in this situation either.
Public methodSerialize
Serializes a configuration object into text.
Top
See Also