public RoleAuthMiddleware(ClientRequestDel next, RoleAuthOptions options) { _options = options; _next = next; }
public RoleAuthModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings) { _options = jimuAppSettings.GetSection(typeof(RoleAuthOptions).Name).Get <RoleAuthOptions>(); }