Example #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="HostSecurityProvider" /> class.
        /// </summary>
        /// <param name="config">The config to be used.</param>
        protected HostSecurityProvider(ISecureConfig config)
        {
            if (config == null)
            {
                throw new ArgumentNullException("config");
            }

            ServerID   = config.ServerID;
            _serverKey = config.ServerKey;
            _systemKey = config.SystemKey;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="HostSecurityProvider" /> class.
        /// </summary>
        /// <param name="config">The config to be used.</param>
        protected HostSecurityProvider(ISecureConfig config)
        {
            if (config == null)
            {
                throw new ArgumentNullException("config");
            }

            ServerID = config.ServerID;
            _serverKey = config.ServerKey;
            _systemKey = config.SystemKey;
        }
Example #3
0
 public HostSecurityProviderImpl(ISecureConfig config)
     : base(config)
 {
 }
            public HostSecurityProviderImpl(ISecureConfig config)
                : base(config)
            {

            }