Release Notes
This release fixes the problem added with Hangfire 1.1.0 release related with unability to use dashboard authorization filters. It contains minor breaking change, please see the linked issue for the details.
- Fixed – Breaking:
IAuthorizationFilter.Authorize
method issues withIOwinContext
interface (#202).
Upgrading
If you use the Hangfire.Dashboard.Authorization package, please update it first, its version 2.0.0 uses new IAuthorizationFilter.Authorize
method definition.
If you have custom authentication filters, please update their signature to the following one:
public void Authorize(IDictionary<string, object> owinEnvironment)
{
// In case you need an OWIN context, use the next line.
var context = new OwinContext(owinEnvironment);
/* ... */
}