Athena::Mercure::Spec::AssertingTokenFactory
Inherits Athena::Mercure::TokenFactory::Interface < Reference < Object
An AMC::TokenFactory::Interface implementation that will assert it was called with the expected arguments to #create.
Constructors
new(token : String, subscribe : Array(String) | Nil = [] of String, publish : Array(String) | Nil = [] of String, additional_claims : Hash(String, String) = {} of String => String)
SourceInstance methods
called?
Sourcecreate(subscribe : Array(String) | Nil = [] of String, publish : Array(String) | Nil = [] of String, additional_claims : Hash | Nil = nil) : String
Source