struct

Athena::Mercure::TokenProvider::Callable

Inherits Athena::Mercure::TokenProvider::Interface < Struct < Value < Object

A token provider implementation that provides the JWT via the return value of a callback block.

Constructors

new(callback : Proc(String))
Source

Instance methods

jwt

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

Source