We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f978ad1 commit 6f576bdCopy full SHA for 6f576bd
pkg/security/oauth2/auth/granter.go
@@ -31,6 +31,10 @@ type TokenGranter interface {
31
Grant(ctx context.Context, request *TokenRequest) (oauth2.AccessToken, error)
32
}
33
34
+// AuthorizationServiceInjector
35
+// By implementing this interface, a component can ask the framework to call its Inject method
36
+// to get a reference to the AuthorizationService.
37
+// Currently only component that also implements TokenGranter interface will have its Inject method be called.
38
type AuthorizationServiceInjector interface {
39
Inject(authService AuthorizationService)
40
0 commit comments