当前位置: 首页>>代码示例>>C#>>正文


C# IEncryptionService类代码示例

本文整理汇总了C#中IEncryptionService的典型用法代码示例。如果您正苦于以下问题:C# IEncryptionService类的具体用法?C# IEncryptionService怎么用?C# IEncryptionService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IEncryptionService类属于命名空间,在下文中一共展示了IEncryptionService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SessionFactoryHolderFactory

        public SessionFactoryHolderFactory(
            ShellSettings shellSettings,
            ShellBlueprint shellBlueprint,
            IDataServicesProviderFactory dataServicesProviderFactory,
            IAppDataFolder appDataFolder,
            ISessionConfigurationCache sessionConfigurationCache,
            IHostEnvironment hostEnvironment,
            IDatabaseCacheConfiguration cacheConfiguration,
            Func<IEnumerable<ISessionConfigurationEvents>> configurers,
            IRepository<ConnectionsRecord> connectionsRecordRepository,
            IEncryptionService encryptionService,
            ICacheManager cacheManager)
        {
            _shellSettings = shellSettings;
            _shellBlueprint = shellBlueprint;
            _dataServicesProviderFactory = dataServicesProviderFactory;
            _appDataFolder = appDataFolder;
            _sessionConfigurationCache = sessionConfigurationCache;
            _hostEnvironment = hostEnvironment;
            _cacheConfiguration = cacheConfiguration;
            _configurers = configurers;
            _connectionsRecordRepository = connectionsRecordRepository;
            _encryptionService = encryptionService;
            _cacheManager = cacheManager;

            T = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
        }
开发者ID:SmartFire,项目名称:Orchard.Platform-Modules,代码行数:28,代码来源:SessionFactoryHolderFactory.cs

示例2: EncodePassword

 public static string EncodePassword(string value, IEncryptionService encryptionService)
 {
     return
         string.IsNullOrWhiteSpace(value) ?
         string.Empty :
         Convert.ToBase64String(encryptionService.Encode(Encoding.UTF8.GetBytes(value)));
 }
开发者ID:kubo08,项目名称:Orchard,代码行数:7,代码来源:PasswordUtils.cs

示例3: DoubanOAuthService

 public DoubanOAuthService(IEncryptionService oauthHelper, IQuickLogOnService quickLogOnService)
 {
     _quickLogOnService = quickLogOnService;
     _oauthHelper = oauthHelper;
     T = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
 }
开发者ID:jksharp,项目名称:Orchard.OAuth.China,代码行数:7,代码来源:DoubanOAuthService.cs

示例4: SettingController

 public SettingController(ISettingService settingService,
     ICountryService countryService, IStateProvinceService stateProvinceService,
     IAddressService addressService, ITaxCategoryService taxCategoryService,
     ICurrencyService currencyService, IPictureService pictureService, 
     ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
     IOrderService orderService, IEncryptionService encryptionService,
     IThemeProvider themeProvider, ICustomerService customerService, 
     ICustomerActivityService customerActivityService, IPermissionService permissionService,
     IWebHelper webHelper, IFulltextService fulltextService, 
     IMaintenanceService maintenanceService, IStoreService storeService,
     IWorkContext workContext, IGenericAttributeService genericAttributeService)
 {
     this._settingService = settingService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._addressService = addressService;
     this._taxCategoryService = taxCategoryService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._dateTimeHelper = dateTimeHelper;
     this._orderService = orderService;
     this._encryptionService = encryptionService;
     this._themeProvider = themeProvider;
     this._customerService = customerService;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._webHelper = webHelper;
     this._fulltextService = fulltextService;
     this._maintenanceService = maintenanceService;
     this._storeService = storeService;
     this._workContext = workContext;
     this._genericAttributeService = genericAttributeService;
 }
开发者ID:haithemChkel,项目名称:nopCommerce_33,代码行数:34,代码来源:SettingController.cs

示例5: IdentityService

 public IdentityService(ILearnWithQBUow uow, IEncryptionService encryptionService, ISessionService sessionService, ICacheProvider cacheProvider)
     : base(cacheProvider)
 {
     this.uow = uow;
     this.sessionService = sessionService;
     this.encryptionService = encryptionService;
 }
开发者ID:QuinntyneBrown,项目名称:learn-with-qb,代码行数:7,代码来源:IdentityService.cs

示例6: CustomerRegistrationService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="customerService">Customer service</param>
 /// <param name="encryptionService">Encryption service</param>
 public CustomerRegistrationService(ICustomerService customerService,
     IEncryptionService encryptionService
     )
 {
     this._customerService = customerService;
     this._encryptionService = encryptionService;
 }
开发者ID:SeptemberWind,项目名称:AlvisFrameworkProject,代码行数:12,代码来源:CustomerRegistrationService.cs

示例7: AuthenticationController

 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationController"/> class.
 /// </summary>
 /// <param name="userDataMapper">
 /// The user Data Mapper.
 /// </param>
 /// <param name="encryptionService">
 /// The encryption service.
 /// </param>
 public AuthenticationController(
     IUserDataMapper userDataMapper, 
     IEncryptionService encryptionService)
 {
     _userDataMapper = userDataMapper;
     _encryptionService = encryptionService;
 }
开发者ID:haiconmot,项目名称:SmsQuiz,代码行数:16,代码来源:AuthenticationController.cs

示例8: AuthenticationService

 public AuthenticationService(ITenantRepository tenantRepository, IUserRepository userRepository,
     IEncryptionService encryptionService)
 {
     this._tenantRepository = tenantRepository;
     this._userRepository = userRepository;
     this._encryptionService = encryptionService;
 }
开发者ID:ZhangColin,项目名称:IDDD_Samples_by_Colin,代码行数:7,代码来源:AuthenticationService.cs

示例9: TwitterOAuthService

 public TwitterOAuthService(IEncryptionService oauthHelper, IQuickLogOnService quickLogOnService)
 {
     T = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
     _quickLogOnService = quickLogOnService;
     _oauthHelper = oauthHelper;
 }
开发者ID:omidam81,项目名称:Ver1.0,代码行数:7,代码来源:TwitterOAuthService.cs

示例10: IdentityService

 public IdentityService(IWeddingBiddersUow uow, IEncryptionService encryptionService, ISessionService sessionService, ICacheProvider cacheProvider)
     : base(cacheProvider)
 {
     this.uow = uow;
     this.sessionService = sessionService;
     this.encryptionService = encryptionService;
 }
开发者ID:QuinntyneBrown,项目名称:wedding-bidders,代码行数:7,代码来源:IdentityService.cs

示例11: IdentityService

 public IdentityService(IVideoOnDemandUow uow, IEncryptionService encryptionService, ISessionService sessionService, ICacheProvider cacheProvider)
     : base(cacheProvider)
 {
     this.uow = uow;
     this.sessionService = sessionService;
     this.encryptionService = encryptionService;
 }
开发者ID:QuinntyneBrown,项目名称:VideoOnDemandApi,代码行数:7,代码来源:IdentityService.cs

示例12: AuthenticationService

 public AuthenticationService(IRequest request, IOutputWriter outputWriter, BasicAuthenticationCookieConfiguration basicAuthenticationCookieConfiguration, IEncryptionService encryptionService)
 {
     this.request = request;
     this.outputWriter = outputWriter;
     this.basicAuthenticationCookieConfiguration = basicAuthenticationCookieConfiguration;
     this.encryptionService = encryptionService;
 }
开发者ID:UStack,项目名称:UWeb,代码行数:7,代码来源:AuthenticationService.cs

示例13: SmtpSettingsPartHandler

        public SmtpSettingsPartHandler(IRepository<SmtpSettingsPartRecord> repository, IEncryptionService encryptionService) {
            T = NullLocalizer.Instance;
            _encryptionService = encryptionService;
            Filters.Add(new ActivatingFilter<SmtpSettingsPart>("Site"));
            Filters.Add(StorageFilter.For(repository));

            OnLoaded<SmtpSettingsPart>(LazyLoadHandlers);
        }
开发者ID:juaqaai,项目名称:CompanyGroup,代码行数:8,代码来源:SmtpSettingsPartHandler.cs

示例14: MembershipService

 public MembershipService(IOrchardServices orchardServices, IMessageManager messageManager, IEnumerable<IUserEventHandler> userEventHandlers, IClock clock, IEncryptionService encryptionService) {
     _orchardServices = orchardServices;
     _messageManager = messageManager;
     _userEventHandlers = userEventHandlers;
     _encryptionService = encryptionService;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
开发者ID:rupertwhitlock,项目名称:IncreasinglyAbsorbing,代码行数:8,代码来源:MembershipService.cs

示例15: AuthenticationService

        public AuthenticationService(IRepository<MembraneUser> userRepository, IEncryptionService encryptionService)
        {
            GuardAgainst.ArgumentNull(userRepository, "userRepository");
            GuardAgainst.ArgumentNull(encryptionService, "encryptionService");

            this.userRepository = userRepository;
            this.encryptionService = encryptionService;
        }
开发者ID:pollingj,项目名称:Membrane-CMS,代码行数:8,代码来源:AuthenticationService.cs


注:本文中的IEncryptionService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。