コード例 #1
0
 public UserManagementController(ICommandBus commandBus, UserManager <IdentityUser> userManager, IUserFactory userFactory, IUserEvents userEvents)
     : base(commandBus)
 {
     this.userManager = userManager;
     this.userFactory = userFactory;
     this.userEvents  = userEvents;
 }
コード例 #2
0
        public UserClientEngine(IUserEvents userEvents)
        {
            UserEvents = userEvents;
            var           TotalConfig = ConfigurationManager.GetSection("superSocket") as IConfigurationSource;
            IClientConfig config      = TotalConfig.Clients.FirstOrDefault();

            Init(config);
        }
コード例 #3
0
 public ProfileController(
     SignInManager <IdentityUser> signInManager,
     UserManager <IdentityUser> userManager,
     IUserPictureStore userPictureStore,
     IUserEvents userEvents,
     IAssetThumbnailGenerator assetThumbnailGenerator,
     IOptions <MyIdentityOptions> identityOptions)
 {
     this.signInManager           = signInManager;
     this.identityOptions         = identityOptions.Value;
     this.userManager             = userManager;
     this.userPictureStore        = userPictureStore;
     this.userEvents              = userEvents;
     this.assetThumbnailGenerator = assetThumbnailGenerator;
 }
コード例 #4
0
 public AccountController(
     SignInManager <IdentityUser> signInManager,
     UserManager <IdentityUser> userManager,
     IUserFactory userFactory,
     IUserEvents userEvents,
     IOptions <MyIdentityOptions> identityOptions,
     ISemanticLog log,
     IIdentityServerInteractionService interactions)
 {
     this.log             = log;
     this.userEvents      = userEvents;
     this.userManager     = userManager;
     this.userFactory     = userFactory;
     this.interactions    = interactions;
     this.identityOptions = identityOptions.Value;
     this.signInManager   = signInManager;
 }
コード例 #5
0
 public UserClientEngine(IUserEvents userEvents, IClientConfig config)
 {
     UserEvents = userEvents;
     Config     = config;
     Init();
 }
コード例 #6
0
 public UserClientEngine(IUserEvents userEvents, EndPoint endpoint, int MaxReceiveLength)
 {
     UserEvents = userEvents;
     Init(endpoint, MaxReceiveLength);
 }
コード例 #7
0
 public static IUserClientEngine CreateUserEngine(IUserEvents userEvents)
 {
     return(new UserClientEngine(userEvents));
 }