class Athena::Mercure::Spec::AssertingTokenFactory
- Athena::Mercure::Spec::AssertingTokenFactory
- Reference
- Object
Included Modules
Defined in:
spec.crConstructors
Instance Method Summary
- #called? : Bool
- #create(subscribe : Array(String) | Nil = [] of String, publish : Array(String) | Nil = [] of String, additional_claims : Hash | Nil = nil) : String
Instance methods inherited from module Athena::Mercure::TokenFactory::Interface
create(subscribe : Array(String) | Nil = [] of String, publish : Array(String) | Nil = [] of String, additional_claims : Hash | Nil = nil) : String
create
Constructor Detail
def self.new(token : String, subscribe : Array(String) | Nil = [] of String, publish : Array(String) | Nil = [] of String, additional_claims : Hash(String, String) = {} of String => String)
#
Instance Method Detail
def create(subscribe : Array(String) | Nil = [] of String, publish : Array(String) | Nil = [] of String, additional_claims : Hash | Nil = nil) : String
#