tymondesigns/jwt-auth

Class 'Lcobucci\JWT\Builder' not found

Ouverte

#1 460 ouverte le 22 janv. 2018

 (8 commentaires) (1 réaction) (0 personne assignée)PHP (1 542 forks)batch import
help wanted

Métriques du dépôt

Stars
 (11 481 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Subject of the issue

First, I'm sorry for reporting a bug on 1.0.*@dev . Looks like that's the widely used branch for some of the shortcomings on releases.

Your environment

Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 5.5.32
Package version 1.0.0-dev
PHP version 7.1.2

Steps to reproduce

  • Persistent on boot.

Expected behaviour

not throw the error experienced.

Actual behaviour

I get Class 'Lcobucci\JWT\Builder' not found Here:

protected function registerLcobucciProvider()
{
    $this->app->singleton('tymon.jwt.provider.jwt.lcobucci', function ($app) {
        return new Lcobucci(
            new JWTBuilder(),
            new JWTParser(),
            $this->config('secret'),
            $this->config('algo'),
            $this->config('keys')
        );
    });
}

Guide contributeur