Skip to content

Releases: sfelix-martins/passport-multiauth

v7.0.0

03 Apr 00:19
f476642
Compare
Choose a tag to compare

Added

  • Added support to Laravel 7.x

v6.0.0

10 Feb 14:08
f394bc3
Compare
Choose a tag to compare

Added

  • Added support to Laravel 6.x
  • Added support to Laravel Passport ^8.0

v4.1.0

15 Jun 02:33
35c5676
Compare
Choose a tag to compare

Changed

  • Changed PassportMultiauth::actingAs($user) to return 201 instead of 200 to be equals Laravel Passport package: laravel/passport#979

v4.0.0

02 Oct 02:50
Compare
Choose a tag to compare

Added

  • Added compatibility with Laravel 5.7
  • Improved README instructions
  • Added sample project

v3.0.0

02 Sep 23:02
Compare
Choose a tag to compare

Added

Adds an early protection in the AddCustomProvider middleware by checking that the provider given in the request is registered in the auth configuration, if not it will throw an exception to block the request also if the request is missing the provider param it will block it.

v2.1.0

29 Aug 01:59
e30e435
Compare
Choose a tag to compare

Added

  • Add new trait SMartins\PassportMultiauth\HasMultiAuthApiTokens that uses the Laravel Passport core trait Laravel\Passport\HasApiTokens. The new trait override the methods createToken($name, $scopes = []) and tokens() to adapt to MultiAuthentication needs.

  • Now to create Personal Access Token don't need add param providers on request to route wrapped by middleware SMartins\PassportMultiauth\Http\Middleware\AddCustomProvider. Just call the method createToken($name) using the model instance that uses the new trait SMartins\PassportMultiauth\HasMultiAuthApiTokens.

  • The method tokens() now get just the related tokens with model calling.

v2.0.2

31 Jul 02:37
Compare
Choose a tag to compare

Fixed #40

v2.0.1

29 Jul 17:25
2e7df14
Compare
Choose a tag to compare

Fixed

  • Fixed handling empty guards passed to MultiAuthenticate middleware. The parent class Authenticate handle it.

v2.0.0

09 Jun 01:45
Compare
Choose a tag to compare

Changed

  • Simplified way to use package.

To more details about how to upgrade from 1.0 to 2.0 follow the upgrade guide

v1.1.0

13 May 00:01
551d6cb
Compare
Choose a tag to compare

Added support to laravel/passport 6.0