Table of Contents

Class SchedulerResource

Namespace
Quartz
Assembly
Quartz.AspNetCore.dll

The scheduler a per-scheduler authorization policy is evaluated against: the resource passed to IAuthorizationService.AuthorizeAsync(user, resource, policyName) by every HTTP API route and every dashboard page that names a scheduler.

public sealed record SchedulerResource : IEquatable<SchedulerResource>
Inheritance
SchedulerResource
Implements
Inherited Members

Remarks

Write an AuthorizationHandler<TRequirement, SchedulerResource> and the same decision covers both surfaces. SchedulerName is the name the caller asked for, spelled as they spelled it — scheduler lookups compare names ignoring case, so a handler that matches a claim against it should do the same.

Constructors

SchedulerResource(string)

The scheduler a per-scheduler authorization policy is evaluated against: the resource passed to IAuthorizationService.AuthorizeAsync(user, resource, policyName) by every HTTP API route and every dashboard page that names a scheduler.

public SchedulerResource(string SchedulerName)

Parameters

SchedulerName string

The scheduler the request is about.

Remarks

Write an AuthorizationHandler<TRequirement, SchedulerResource> and the same decision covers both surfaces. SchedulerName is the name the caller asked for, spelled as they spelled it — scheduler lookups compare names ignoring case, so a handler that matches a claim against it should do the same.

Properties

SchedulerName

The scheduler the request is about.

public string SchedulerName { get; init; }

Property Value

string