struct

KemalIdentity::Failed

Inherits Struct < Value < Object

A credential was presented and rejected.

reason exists for the audit log. It must not reach the response body: identical status, body and headers for every reason, or the shard becomes an enumeration oracle (docs/02-security-model.md).

Constructors

new(reason : FailureReason, retry_after : Time::Span | Nil = nil)
Source

Instance methods

reason
Source
retry_after

Set only for FailureReason::RateLimited, where telling an honest client when to come back is worth more than the timing it reveals.

Source