Closed mcrumm closed 5 years ago
@mcrumm given we are pre 1.0, I think we can just go ahead and remove token_module, what do you think? And we would make it clear on a new release that it has backcwards incompatible changes.
:+1: I'm good with that. And the only consumers of this package that I know of aren't using a custom token_module, anyway.
Correct me if I'm wrong @sbennett33 @znorris
Changes:
:token_generator
option to allow passing an MFArgs tuple that should return{:ok, String.t()} | :error
:token_module
option:scope
option if neither:token_generator
nor:token_module
are specified.BroadwayCloudPubSub.Token
behaviourCloses #27