CredentialNoRefreshHandlerWarning

View as MarkdownOpen in Claude

Emitted when a credential has an expiry_at but the provider supplies no refresh() handler. The session will terminate at expiry with no fallback.

Implementors who want long-lived sessions must provide a refresh() handler or mint tokens with the sat:refresh scope (Client Bound SAT path). Subscribe via client.warnings$.

Properties

code
"credential_no_refresh_handler"Required

Discriminant identifying this warning.

source
"CredentialProvider"Required

The SDK subsystem that emitted the warning.

message
stringRequired

Human-readable description of the warning.

expiresAt
numberRequired

Token expiry timestamp (epoch milliseconds).