Skip to main content
net9.0

Dashboard UI for visualizing and monitoring TickerQ scheduled jobs.

Published
Mar 21, 2026
7mo ago
Total Downloads
757.3K
757,284

Install

dotnet add package TickerQ.Dashboard --version 9.2.3
ProductVersions
.NET
net9.0

README

TickerQ Dashboard Authentication

Simple, clean authentication for your TickerQ Dashboard.

πŸš€ Quick Examples

No Authentication (Public Dashboard)

services.AddTickerQ<MyTimeTicker, MyCronTicker>(config =>
{
    config.AddDashboard(dashboard =>
    {
        // No authentication setup = public dashboard
    });
});

Basic Authentication

services.AddTickerQ<MyTimeTicker, MyCronTicker>(config =>
{
    config.AddDashboard(dashboard =>
    {
        dashboard.WithBasicAuth("admin", "secret123");
    });
});

API Key Authentication

services.AddTickerQ<MyTimeTicker, MyCronTicker>(config =>
{
    config.AddDashboard(dashboard =>
    {
        dashboard.WithApiKey("my-secret-api-key-12345");
    });
});

Use Host Application's Authentication

services.AddTickerQ<MyTimeTicker, MyCronTicker>(config =>
{
    config.AddDashboard(dashboard =>
    {
        dashboard.WithHostAuthentication();
    });
});

Use Host Authentication with Custom Policy

services.AddTickerQ<MyTimeTicker, MyCronTicker>(config =>
{
    config.AddDashboard(dashboard =>
    {
        dashboard.WithHostAuthentication("AdminPolicy");
    });
});

Dedicated OpenAPI Group

services.AddTickerQ<MyTimeTicker, MyCronTicker>(config =>
{
    config.AddDashboard(dashboard =>
    {
        dashboard.SetGroupName("tickerq");
    });
});

πŸ”§ Fluent API Methods

  • WithBasicAuth(username, password) - Enable username/password authentication
  • WithApiKey(apiKey) - Enable API key authentication
  • WithHostAuthentication(policy) - Use your app's existing auth with optional policy (e.g., "AdminPolicy")
  • SetBasePath(path) - Set dashboard URL path
  • SetBackendDomain(domain) - Set backend API domain
  • SetCorsPolicy(policy) - Configure CORS
  • SetGroupName(name) - Set OpenAPI group name for dashboard endpoints

πŸ”’ How It Works

The dashboard automatically detects your authentication method:

  1. No auth configured β†’ Public dashboard
  2. Basic auth configured β†’ Username/password login
  3. Bearer token configured β†’ API key authentication
  4. Host auth configured β†’ Delegates to your app's auth system

🌐 Frontend Integration

The frontend automatically adapts based on your backend configuration:

  • Shows appropriate login UI
  • Handles SignalR authentication
  • Supports both header and query parameter auth (for WebSockets)

That's it! Simple and clean. πŸŽ‰

Changes from Previous Version

No structural changes between v9.2.2 and v9.2.3.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.