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