ActionController::MCPServer::AuthCache
Inherits Reference < Object
caches successful authentication checks, keyed by a fingerprint of the forwarded credentials, so the application isn't consulted on every message
Constants
MAX_ENTRIES = 10000
Class methods
fingerprint(request : HTTP::Request) : String | Nil
returns the fingerprint of the credentials in the request, nil if there are none
Instance methods
clear
Sourcedelete(fingerprint : String) : Nil
Sourcestore(fingerprint : String, ttl : Time::Span) : Nil
Sourcevalid?(fingerprint : String) : Bool
Source