mirror of
https://github.com/zitadel/zitadel
synced 2024-11-23 19:19:19 +00:00
5e00f1c9db
* 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
|
|
}
|