diff --git a/pkg/op/storage.go b/pkg/op/storage.go index 153cd21..28fc6a3 100644 --- a/pkg/op/storage.go +++ b/pkg/op/storage.go @@ -67,6 +67,8 @@ type ClientCredentialsStorage interface { } type OPStorage interface { + // GetClientByClientID loads a Client. The returned Client is never cached and is only used to + // handle the current request. GetClientByClientID(ctx context.Context, clientID string) (Client, error) AuthorizeClientIDSecret(ctx context.Context, clientID, clientSecret string) error SetUserinfoFromScopes(ctx context.Context, userinfo oidc.UserInfoSetter, userID, clientID string, scopes []string) error