using Nop.Core.Caching; namespace Nop.Plugin.MultiFactorAuth.GoogleAuthenticator; /// /// Represents plugin constants /// public class GoogleAuthenticatorDefaults { /// /// Gets a plugin system name /// public static string SystemName => "MultiFactorAuth.GoogleAuthenticator"; /// /// Gets the configuration route name /// public static string ConfigurationRouteName => "Plugin.MultiFactorAuth.GoogleAuthenticator.Configure"; /// /// Gets a default QRPixelsPerModule /// public static int DefaultQRPixelsPerModule => 3; #region Caching /// /// Gets the cache key for configuration /// /// /// {0} : configuration identifier /// public static CacheKey ConfigurationCacheKey => new("Nop.PluginMultiFactorAuth.GoogleAuthenticator.Configuration-{0}", PrefixCacheKey); /// /// Gets the prefix key to clear cache /// public static string PrefixCacheKey => "Nop.Plugin.MultiFactorAuth.GoogleAuthenticator"; /// /// Gets the generic attribute name to hide search block on the plugin configuration page /// public static string HideSearchBlockAttribute => "GoogleAuthenticator.HideSearchBlock"; #endregion }