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