class Athena::Mercure::Hub
inherits Reference
#
Default implementation of AMC::Hub::Interface.
Included modules
Athena::Mercure::Hub::Interface
Constructors#
.new(url : String, token_provider : AMC::TokenProvider::Interface, token_factory : AMC::TokenFactory::Interface | Nil = nil, public_url : String | Nil = nil, http_client : HTTP::Client | Nil = nil)#
Methods#
#token_factory : AMC::TokenFactory::Interface | ::Nil#
Returns the AMC::TokenFactory::Interface associated with this hub.
#token_provider : AMC::TokenProvider::Interface#
Returns the AMC::TokenProvider::Interface associated with this hub.