Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
Auth0\Laravel\Traits\Imposter
trait to allow for easier testing. Example usageChanged
The following changes have no effect on the external API of this package, but may affect internal usage.
Guard
will now more reliably detect changes in the underlying Auth0-PHP SDK session state.Guard
will now more reliably sync changes back to the underlying Auth0-PHP SDK session state.Guard
now inherits theDeferrableProvider
interface to better support Laravel's deferred provider loading.StateInstance
concept has been replaced by newCredentials
entity.Guard
updated to use newCredentials
entity as primary internal storage for user data.Auth0\Laravel\Traits\ActingAsAuth0User
was updated to use newCredentials
entity.authenticate
,authenticate.optional
andauthorize.optional
HTTP middleware now support scope filtering, asauthorize
already did.Fixed
Guard
would not always honor theprovider
configuration value inconfig/auth.php
.Guard
is no longer defined as a Singleton to better support applications that need multi-guard configurations.Maintenance