File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/LucaDegasperi/OAuth2Server Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public function register()
38
38
$ app ->bind ('League\OAuth2\Server\Storage\ClientInterface ' , 'LucaDegasperi\OAuth2Server\Repositories\FluentClient ' );
39
39
$ app ->bind ('League\OAuth2\Server\Storage\ScopeInterface ' , 'LucaDegasperi\OAuth2Server\Repositories\FluentScope ' );
40
40
$ app ->bind ('League\OAuth2\Server\Storage\SessionInterface ' , 'LucaDegasperi\OAuth2Server\Repositories\FluentSession ' );
41
+ $ app ->bind ('LucaDegasperi\OAuth2Server\Repositories\SessionManagementInterface ' , 'LucaDegasperi\OAuth2Server\Repositories\FluentSession ' );
41
42
42
43
$ app ['oauth2.authorization-server ' ] = $ app ->share (function ($ app ) {
43
44
@@ -89,7 +90,7 @@ public function register()
89
90
90
91
$ app ['oauth2.expired-tokens-command ' ] = $ app ->share (function ($ app )
91
92
{
92
- return new Commands \ExpiredTokensCommand ( );
93
+ return $ app -> make ( ' LucaDegasperi\OAuth2Server\ Commands\ExpiredTokensCommand' );
93
94
});
94
95
95
96
$ this ->commands ('oauth2.expired-tokens-command ' );
You can’t perform that action at this time.
0 commit comments