Exemplo n.º 1
0
 public PlayerApi(HttpClient httpClient, IUserAccountsService userAccountsService) : base(httpClient, userAccountsService)
 {
     if (userAccountsService == null)
     {
         throw new ArgumentNullException("userAccountsService");
     }
     _userAccounts = userAccountsService;
 }
Exemplo n.º 2
0
 public AuthController(
     IUserAccountsService userAccounts,
     IAccessTokenService tokenService,
     IUserStateService userStateService,
     IUserService userService)
 {
     _userAccounts     = userAccounts;
     _tokenService     = tokenService;
     _userStateService = userStateService;
     _userService      = userService;
 }
Exemplo n.º 3
0
 public AccessTokenService(
     ICache cache,
     ICosmosData <UserAccessRefreshToken> data,
     IUserAccountsService userAccounts,
     ILogger <AccessTokenService> logger)
 {
     _cache        = cache;
     _data         = data;
     _userAccounts = userAccounts;
     _logger       = logger;
 }
Exemplo n.º 4
0
 public SpotifyController(
     IUserAccountsService userAccounts,
     //UserAuthService authService,
     //AuthStateService stateService,
     IUserData channelUserData,
     IStateData userStateData)
 {
     _userAccounts = userAccounts;
     //_authService = authService;
     //_stateService = stateService;
     _userData      = channelUserData;
     _userStateData = userStateData;
 }
Exemplo n.º 5
0
 public AuthService(
     HttpClient httpClient,
     IUserAccountsService userAccounts,
     IConfiguration configuration,
     IUserData channelUserData,
     IStateData userStateData,
     ILogger <SpotifyService> logger)
 {
     _http          = httpClient;
     _userAccounts  = userAccounts;
     _config        = configuration;
     _userData      = channelUserData;
     _userStateData = userStateData;
     _logger        = logger;
 }
 public SpotifyController
 (
     IArtistsApi artists,
     IPlayerApi player,
     IUserAccountsService userAccounts,
     UserAuthService authService,
     AuthStateService stateService
 )
 {
     _artists      = artists;
     _userAccounts = userAccounts;
     _authService  = authService;
     _stateService = stateService;
     _player       = player;
 }
Exemplo n.º 7
0
 public AccountsController(IMapper mapper, IUserAccountsService userAccountsService)
 {
     _mapper = mapper;
     _userAccountsService = userAccountsService;
 }