コード例 #1
0
 public ApplicationUserManager(
     IServiceProvider services,
     IOpenIddictUserStore <ApplicationUser> store,
     IOptions <IdentityOptions> options,
     ILogger <OpenIddictUserManager <ApplicationUser> > logger,
     IPasswordHasher <ApplicationUser> hasher,
     IEnumerable <IUserValidator <ApplicationUser> > userValidators,
     IEnumerable <IPasswordValidator <ApplicationUser> > passwordValidators,
     ILookupNormalizer keyNormalizer,
     IdentityErrorDescriber errors
     )
     : base(services, store, options, logger, hasher, userValidators, passwordValidators, keyNormalizer, errors)
 {
 }
コード例 #2
0
 public OpenIddictUserManager(
     [NotNull] IServiceProvider services,
     [NotNull] IOpenIddictUserStore <TUser> store,
     [NotNull] IOptions <IdentityOptions> options,
     [NotNull] ILogger <OpenIddictUserManager <TUser> > logger,
     [NotNull] IPasswordHasher <TUser> hasher,
     [NotNull] IEnumerable <IUserValidator <TUser> > userValidators,
     [NotNull] IEnumerable <IPasswordValidator <TUser> > passwordValidators,
     [NotNull] ILookupNormalizer keyNormalizer,
     [NotNull] IdentityErrorDescriber errors)
     : base(store, options, hasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger)
 {
     Context = services?.GetRequiredService <IHttpContextAccessor>()?.HttpContext;
     Logger  = logger;
     Options = options.Value;
     Store   = store;
 }