mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
e99b7f4972
* move changes to queries and remove old code * fix changes query * remove unused code * fix sorting * fix sorting * refactor and remove old code * remove accidental go.mod replace * add missing file * remove listDetail from ChangesResponse
13 lines
559 B
Go
13 lines
559 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type TokenVerifierRepository interface {
|
|
VerifyAccessToken(ctx context.Context, tokenString, verifierClientID, projectID string) (userID string, agentID string, clientID, prefLang, resourceOwner string, err error)
|
|
ProjectIDAndOriginsByClientID(ctx context.Context, clientID string) (projectID string, origins []string, err error)
|
|
CheckOrgFeatures(ctx context.Context, orgID string, requiredFeatures ...string) error
|
|
VerifierClientID(ctx context.Context, appName string) (clientID, projectID string, err error)
|
|
}
|