public AppAuthorizationPolicyProvider(IOptions <AuthorizationOptions> options, UserGrpcService.User.UserClient userClient, IMemoryCache memoryCache, ILogger <AppAuthorizationPolicyProvider> logger) : base(options) { this.userClient = userClient; this.memoryCache = memoryCache; this.logger = logger; }
public HttpContextHelper(IHttpContextAccessor httpContextAccessor, UserGrpcService.User.UserClient userClient) { this.httpContextAccessor = httpContextAccessor; this.userClient = userClient; }