mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 06:07:33 +00:00
chore: move the go code into a subfolder
This commit is contained in:
11
apps/api/internal/authz/repository/token_verifier.go
Normal file
11
apps/api/internal/authz/repository/token_verifier.go
Normal file
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
VerifierClientID(ctx context.Context, appName string) (clientID, projectID string, err error)
|
||||
}
|
Reference in New Issue
Block a user