Class AgentTokens
- Namespace
- Quartz
- Assembly
- Quartz.Dashboard.dll
The bearer tokens a dashboard accepts from its agents: one in use, and one more while a rotation is under way.
public sealed class AgentTokens
- Inheritance
-
AgentTokens
- Inherited Members
Remarks
To rotate: set Secondary to the new token, roll the agents over to it, move it to Primary, and clear Secondary. Both are shared secrets: keep them in a secret store, and treat the dashboard that holds them as the trust anchor of the fleet.
Properties
Primary
The token agents present.
public string? Primary { get; set; }
Property Value
Secondary
A second token accepted beside the first, for the time it takes to roll agents from one to the other.
public string? Secondary { get; set; }