Exemple #1
0
 public OAuthController(
     IAuthorizeService authorizeService,
     IValidateTokenService validateTokenService,
     IGenerateTokenService generateTokenService)
 {
     _authorizeService     = authorizeService;
     _validateTokenService = validateTokenService;
     _generateTokenService = generateTokenService;
 }
Exemple #2
0
 public CustomerLoginService(ICustomerRepository customer, IGenerateTokenService tokenService)
 {
     _customerRepository = customer;
     _tokenService       = tokenService;
 }
 public TokenController(IGenerateTokenService token)
 {
     _token = token;
 }