class

Authly::InMemoryPARStore

Inherits Authly::PARStore / Reference / Object

In-memory implementation of PAR store

Constructors

new(default_ttl : Time::Span = 90.seconds)
Source

Instance methods

cleanup_expired

Clean up expired request URIs

Source
consume(request_uri : String)
Source
fetch(request_uri : String) : PARData | Nil
Source
store(request_uri : String, params : Hash(String, String), client_id : String, ttl : Time::Span = 90.seconds)
Source
valid?(request_uri : String) : Bool
Source