struct Athena::Mercure::TokenProvider::Static

Overview

A token provider implementation that provides the JWT as a static value from the constructor.

Included Modules

Defined in:

token_provider/static.cr

Constructors

Instance Method Summary

Instance methods inherited from module Athena::Mercure::TokenProvider::Interface

jwt : String jwt

Constructor Detail

def self.new(token : String) #

[View source]

Instance Method Detail

def jwt : String #

Returns the JWT token used to authenticate requests to the Mercure hub.


[View source]