public BitmapAuthorizationHandler(IHttpContextAccessor httpContextAccessor, IBitmapEndpointStorage bitmapEndpointStorage, IBitmapAuthorization bitmapAuthorization) { this._httpContextAccessor = httpContextAccessor; this._bitmapEndpointStorage = bitmapEndpointStorage; this._bitmapAuthorization = bitmapAuthorization; }
public AccountController(IBitmapEndpointStorage bitmapEndpointStorage, IBitmapAuthorization bitmapAuthorization, IOptions <SystemOptions> options) { this._bitmapEndpointStorage = bitmapEndpointStorage; this._bitmapAuthorization = bitmapAuthorization; this._options = options; }
public AuthorizationTest(ITestOutputHelper output) : base(output) { this._authorization = this._serviceProvider.GetService <IBitmapAuthorization>(); }