Following that, at a certain stage in the call chain, there is a call to AbstractServiceProvider::getConfigInstance("providers.jwt"), which subsequently triggers the resolution of AbstractServiceProvider::registerNamshiProvider(). As a result, an attempt is made to instantiate the removed class.
Expected behavior
To get encoded Token
Actual behaviour
Error: Class "Tymon\JWTAuth\Providers\JWT\Namshi" not found
Subject of the issue
An attempt to create an instance of the
Tymon\JWTAuth\Providers\JWT\Namshi
class using theAbstractServiceProvider::registerNamshiProvider()
method failed because the class does not exist anymore, as it was dropped in a recent commit: https://github.com/tymondesigns/jwt-auth/commit/b0868a5b00801889a9e0c81a737963d8004e708c#diff-f6d0165250945a702d3edc292ddd71188eaadef24c305ad994ae7c6e50fb7664Your environment
Steps to reproduce
We have code that calls
Manager::encode
:Following that, at a certain stage in the call chain, there is a call to
AbstractServiceProvider::getConfigInstance("providers.jwt")
, which subsequently triggers the resolution ofAbstractServiceProvider::registerNamshiProvider()
. As a result, an attempt is made to instantiate the removed class.Expected behavior
To get encoded Token
Actual behaviour
Error: Class "Tymon\JWTAuth\Providers\JWT\Namshi" not found