예제 #1
0
 public TokenService(
     IJwtUserService <TKey> jwtUserService,
     IOptions <JwtSettings> appSettings)
 {
     this.jwtUserService = jwtUserService;
     this.appSettings    = appSettings.Value;
 }
예제 #2
0
 public AdministrationService(
     IJwtUserService <TKey> jwtUserService,
     IConvertService <TKey> convertService,
     IPasswordService passwordService)
 {
     this.jwtUserService  = jwtUserService;
     this.convertService  = convertService;
     this.passwordService = passwordService;
 }
예제 #3
0
 public JwtMiddleware(
     RequestDelegate next,
     IOptions <JwtSettings> appSettings,
     IJwtUserService <ObjectId> jwtUserService)
 {
     _next = next;
     this.jwtUserService = jwtUserService;
     _appSettings        = appSettings.Value;
 }
예제 #4
0
 public AuthenticationService(
     IJwtUserService <TKey> jwtUserService,
     IConvertService <TKey> convertService,
     ITokenService <TKey> tokenService,
     IPasswordService passwordService)
 {
     this.jwtUserService  = jwtUserService;
     this.convertService  = convertService;
     this.tokenService    = tokenService;
     this.passwordService = passwordService;
 }
예제 #5
0
 public JwtAccountService(
     IJwtUserService <TKey> jwtUserService,
     IJwtEmailSenderService <TKey> emailSenderService,
     IConvertService <TKey> convertService,
     ITokenService <TKey> tokenService,
     IPasswordService passwordService)
 {
     this.jwtUserService     = jwtUserService;
     this.emailSenderService = emailSenderService;
     this.convertService     = convertService;
     this.tokenService       = tokenService;
     this.passwordService    = passwordService;
 }
 public JwtUsersController(IJwtUserService jwtUserService)
 {
     _jwtUserService = jwtUserService;
 }
예제 #7
0
 public AuthManager(IJwtUserService jwtUserService, ITokenHelper tokenHelper)
 {
     _tokenHelper    = tokenHelper;
     _jwtUserService = jwtUserService;
 }