class Athena::Mercure::Spec::AssertingTokenFactory

Included Modules

Defined in:

spec.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def called? : Bool #

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

[View source]