struct
Athena::Mercure::TokenProvider::Factory
- Athena::Mercure::TokenProvider::Factory
- Struct
- Value
- Object
Overview
A token provider implementation that provides the JWT via an [AMC::TokenFactory::Interface][] instance.
Included Modules
Defined in:
token_provider/factory.crConstructors
Instance Method Summary
-
#jwt : String
Returns the JWT token used to authenticate requests to the Mercure hub.
Instance methods inherited from module Athena::Mercure::TokenProvider::Interface
jwt : String
jwt
Constructor Detail
def self.new(factory : AMC::TokenFactory::Interface, subscribe : Array(String) = [] of String, publish : Array(String) = [] of String)
#