KemalIdentity::ApiTokens::PolicyError
Inherits KemalIdentity::Error < Exception < Reference < Object
Raised by Service#issue when the deployment's lifetime policy refuses the issuance.
Carries the violation and the limit so an application can render the requirement — "tokens must expire within 30 days" — rather than a generic failure. Both are safe to show.
Constructors
Instance methods
maximum
Sourceviolation
Source