public UserClaimsService(AlloyContext context, IMemoryCache cache, ClaimsTransformationOptions options, IS3PlayerApiClient s3PlayerApiClient) { _context = context; _options = options; _cache = cache; _s3PlayerApiClient = s3PlayerApiClient; }
public PlayerService( IHttpContextAccessor httpContextAccessor, IS3PlayerApiClient s3PlayerApiClient, IAuthorizationService authorizationService, IPrincipal user, IUserClaimsService claimsService) { _s3PlayerApiClient = s3PlayerApiClient; _authorizationService = authorizationService; _user = user as ClaimsPrincipal; _claimsService = claimsService; }
public PlayerService(IHttpContextAccessor httpContextAccessor, IS3PlayerApiClient s3PlayerApiClient) { _teamCache = new Dictionary <Guid, Team>(); _userId = httpContextAccessor.HttpContext.User.GetId(); _s3PlayerApiClient = s3PlayerApiClient; }