Skip to content

class Athena::Mercure::Spec::AssertingTokenFactory
inherits Reference #

Included modules

Athena::Mercure::TokenFactory::Interface

Constructors#

.new(token : String, subscribe : Array(String) | Nil = [] of String, publish : Array(String) | Nil = [] of String, additional_claims : Hash(String, String) = {} of String => String)#

View source

Methods#

#called? : Bool#

View source

#create(subscribe : Array(String) | Nil = [] of String, publish : Array(String) | Nil = [] of String, additional_claims : Hash | Nil = nil) : String#

View source