Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b59f92b

Browse files
IOAuth2Client is now compliant with the new symfony 5.3 Authenticator system
1 parent 546f869 commit b59f92b

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
2-
"name": "friendsofsymfony/oauth2-php",
2+
"name": "klapaudius/oauth2-php",
33
"type": "library",
44
"description": "OAuth2 library",
55
"license": "MIT",
66
"keywords": ["oauth", "oauth2"],
7-
"homepage": "https://github.com/FriendsOfSymfony/oauth2-php",
7+
"homepage": "https://github.com/klapadius/oauth2-php",
88
"authors": [
9+
{
10+
"name": "Klapaudius",
11+
"email": "[email protected]"
12+
},
913
{
1014
"name": "Arnaud Le Blanc",
1115
"email": "[email protected]"
@@ -18,7 +22,8 @@
1822

1923
"require": {
2024
"php": "^5.5.9 || ^7.0.8 || ^7.1.3 || ^7.2.5 || ^8.0.0",
21-
"symfony/http-foundation": "~3.0|~4.0|~5.0"
25+
"symfony/http-foundation": "~3.0|~4.0|~5.0",
26+
"symfony/security": "~3.0|~4.0|~5.0"
2227
},
2328
"require-dev": {
2429
"phpunit/phpunit": "^5.0 || ^6.0 || ^8.0 || ^9.0.0"
@@ -40,7 +45,7 @@
4045

4146
"extra": {
4247
"branch-alias": {
43-
"dev-master": "1.2.x-dev"
48+
"dev-master": "2.0.x-dev"
4449
}
4550
}
4651
}

lib/Model/IOAuth2Client.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace OAuth2\Model;
44

5-
interface IOAuth2Client
5+
use Symfony\Component\Security\Core\User\UserInterface;
6+
7+
interface IOAuth2Client extends UserInterface
68
{
79
/**
810
* @return string

0 commit comments

Comments
 (0)