Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,23 @@ All the authorization view's rendering logic may be customized using the appropr
Passport::viewPrefix('auth.oauth');
}

### User Model Interface

PR: https://github.com/laravel/passport/pull/1797

Passport 13 introduces the `Laravel\Passport\Contracts\OAuthenticatable` interface, which must now be
implemented by your `App\Models\User` model alongside the existing `HasApiTokens` trait:

```php
use Laravel\Passport\Contracts\OAuthenticatable;
use Laravel\Passport\HasApiTokens;

class User extends Authenticatable implements OAuthenticatable
{
use HasApiTokens;
}
```

### Identify Clients by UUIDs

PR: https://github.com/laravel/passport/pull/1764
Expand Down