mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 23:47:24 +00:00

* feat: check if org exists * feat: check if org exists * Update internal/authz/repository/eventsourcing/eventstore/token_verifier.go Co-authored-by: Silvan <silvan.reusser@gmail.com> * fix: err handling Co-authored-by: Silvan <silvan.reusser@gmail.com>
12 lines
301 B
Go
12 lines
301 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type TokenVerifierRepository interface {
|
|
VerifyAccessToken(ctx context.Context, appName string) (string, string, string, error)
|
|
ProjectIDByClientID(ctx context.Context, clientID string) (string, error)
|
|
ExistsOrg(ctx context.Context, orgID string) error
|
|
}
|