Exemplo n.º 1
0
        public CSharpUserManager(IUserStore <User> store,
                                 IOptions <IdentityOptions> optionsAccessor,
                                 IPasswordHasher <User> passwordHasher,
                                 IEnumerable <IUserValidator <User> > userValidators,
                                 IEnumerable <IPasswordValidator <User> > passwordValidators,
                                 ILookupNormalizer keyNormalizer,
                                 IdentityErrorDescriber errors,
                                 IServiceProvider services,
                                 ILogger <UserManager <User> > logger,
                                 CSharpSignInManager signInManager,
                                 ITokenService tokenService,
                                 CSharpJWTContext context)
            : base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger)
        {
            _signInManager = signInManager;

            _tokenService = tokenService;

            _context = context;
        }
Exemplo n.º 2
0
        public TokenService(JWTTokenDistributedCache cache, CSharpJWTContext context)
        {
            _cache = cache;

            _context = context;
        }
Exemplo n.º 3
0
 public SeedData(CSharpJWTContext context, IPasswordHasher <User> passwordHasher)
 {
     _context        = context;
     _passwordHasher = passwordHasher;
 }
Exemplo n.º 4
0
 public ClientService(CSharpJWTContext context)
 {
     Clients = context.Clients;
 }
Exemplo n.º 5
0
        public ScopeService(CSharpJWTContext context)
        {
            Scopes = context.Scopes;

            _context = context;
        }
Exemplo n.º 6
0
 public ClaimService(CSharpJWTContext context)
 {
     _context = context;
 }