-
Notifications
You must be signed in to change notification settings - Fork 91
GrantConfigurator should accept League\OAuth2\Server\Grant\GrantTypeInterface #225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Bundles should contain as less logic as possible 👍 If one can come up with something that allows removing this child interface while keeping the same level of DX and design, I'd be happy. |
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 23, 2025
…Server\Grant\GrantTypeInterface
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 23, 2025
…Server\Grant\GrantTypeInterface
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 23, 2025
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 23, 2025
…gureTag attribute
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 24, 2025
…2\Server\Grant\GrantTypeInterface
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 31, 2025
…Server\Grant\GrantTypeInterface
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 31, 2025
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 31, 2025
…gureTag attribute
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 31, 2025
…2\Server\Grant\GrantTypeInterface
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 31, 2025
TLG-Gildas
added a commit
to TLG-Gildas/oauth2-server-bundle
that referenced
this issue
Mar 31, 2025
…er\Grant\GrantTypeInterface
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GrantConfigurator
only accepts custom grants implementing theLeague\Bundle\OAuth2ServerBundle\AuthorizationServer\GrantTypeInterface
interface. However, if we want to use a custom grant from a library designed forleague/oauth2-server
and not forleague/oauth2-server-bundle
, we must create a new class inheriting from the library's grant in order to add the bundle interface.It would be desirable for
GrantConfigurator
to also accept the basicleague/oauth2-server
interface.In this case, to configure the access token TTL, I imagine it would be possible to use an attribute associated with the
league.oauth2_server.authorization_server.grant
tag.What do you think about this?
The text was updated successfully, but these errors were encountered: