Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Parser::parseUnencrypted() #814

Closed
wants to merge 5 commits into from
Closed

Add Parser::parseUnencrypted() #814

wants to merge 5 commits into from

Commits on Jan 20, 2022

  1. Refine Parser types

    The following code works fine and is totally safe, but triggers a static analysis error due to the loose return type of `Parser::parse()`:
    
    ```php
    $token = (new Parser(new JoseEncoder()))->parse($jwtString);
    $token->claims();
    
    // PHPStan says: Call to an undefined method Lcobucci\JWT\Token::claims().
    ```
    spawnia authored Jan 20, 2022
    Configuration menu
    Copy the full SHA
    39db150 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. add composer allow-plugins

    spawnia committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    1bd4859 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    725bbab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e16abd6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f96298b View commit details
    Browse the repository at this point in the history