TickerQ.Dashboard 9.0.2
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();
});
});
🔧 Fluent API Methods
WithBasicAuth(username, password)- Enable username/password authenticationWithApiKey(apiKey)- Enable API key authenticationWithHostAuthentication()- Use your app's existing authSetBasePath(path)- Set dashboard URL pathSetBackendDomain(domain)- Set backend API domainSetCorsPolicy(policy)- Configure CORS
🔒 How It Works
The dashboard automatically detects your authentication method:
- No auth configured → Public dashboard
- Basic auth configured → Username/password login
- Bearer token configured → API key authentication
- 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. 🎉
No packages depend on TickerQ.Dashboard.
.NET 9.0
- TickerQ.Utilities (>= 9.0.2)
| Version | Downloads | Last updated |
|---|---|---|
| 9.0.2 | 129 | 12/19/2025 |