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

Added support for cache #51

Merged
merged 5 commits into from
Jul 17, 2017
Merged

Added support for cache #51

merged 5 commits into from
Jul 17, 2017

Conversation

Nyholm
Copy link
Contributor

@Nyholm Nyholm commented Jul 11, 2017

This will fix #50.

I see that you are not running any test on travis. And you barely have any tests... I added some smoke tests.

I also allowed Symfony 2.8 since it is the same as 3.0.

@cocojoe
Copy link
Member

cocojoe commented Jul 11, 2017

Great thanks, let me look into adding this repo to Travis, Although I see that you're sneaking in 5.5 again as the min requirement 😄 (I can understand why). Let me check with @glena
This should also cover the other PRs as well.

@Nyholm
Copy link
Contributor Author

Nyholm commented Jul 11, 2017

I actually did't sneak it "up" to PHP 5.5. Previous requirements was symfony/symfony:3.0 which require php 5.5.9 (source). I lowered it to php 5.5.0.

@cocojoe
Copy link
Member

cocojoe commented Jul 11, 2017

Apologies, I was looking in the other PR history which showed Symfony 2.8 as the requirement. The "php": ">=5.3.3", seems pretty redundant given the use of Symfony 2.8 | 3.0.

This should be fine then.

composer.json Outdated

"suggest": {
"phpunit/phpunit": "^5.1",
"nyholm/symfony-bundle-test": "^1.0"
},

"autoload": {
"psr-4": {
"Auth0\\JWTAuthBundle\\": "src/"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing comma

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

{
$this->api_secret = $api_secret;
$this->domain = $domain;
$this->api_identifier = $api_identifier;
$this->authorized_issuer = $authorized_issuer;
$this->secret_base64_encoded = $secret_base64_encoded;
$this->supported_algs = $supported_algs;
$this->cache = $cache;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we did we lose supported algs? (used in decodeJWT)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. I did not indent to do that.

@Nyholm
Copy link
Contributor Author

Nyholm commented Jul 13, 2017

Thank you for the review.

Also, awesome that you enabled Travis =)

@glena
Copy link
Contributor

glena commented Jul 13, 2017

@cocojoe LGTM :)

@Nyholm
Copy link
Contributor Author

Nyholm commented Jul 17, 2017

Anything else I can do to get this PR merged?

@cocojoe
Copy link
Member

cocojoe commented Jul 17, 2017

Thx for reminding me, I'll need to set this repo up for a proper release cycle. Let me sort that out.

@cocojoe cocojoe added this to the v3-Next milestone Jul 17, 2017
@cocojoe cocojoe changed the base branch from master to 3.x.x-dev July 17, 2017 18:47
@cocojoe cocojoe merged commit 0752ec3 into auth0:3.x.x-dev Jul 17, 2017
@Nyholm Nyholm deleted the cache branch July 17, 2017 19:15
@Nyholm
Copy link
Contributor Author

Nyholm commented Jul 17, 2017

Thank you for merging

@cocojoe cocojoe modified the milestones: 3.0.2, v3-Next Jul 18, 2017
@cocojoe cocojoe mentioned this pull request Jul 19, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants