mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 12:27:59 +00:00
d8e42744b4
* fix: move eventstore pkgs * fix: move eventstore pkgs * fix: remove v2 view * fix: remove v2 view
17 lines
529 B
Go
17 lines
529 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
"github.com/caos/zitadel/internal/domain"
|
|
)
|
|
|
|
type AuthRequestCache interface {
|
|
Health(ctx context.Context) error
|
|
|
|
GetAuthRequestByID(ctx context.Context, id string) (*domain.AuthRequest, error)
|
|
GetAuthRequestByCode(ctx context.Context, code string) (*domain.AuthRequest, error)
|
|
SaveAuthRequest(ctx context.Context, request *domain.AuthRequest) error
|
|
UpdateAuthRequest(ctx context.Context, request *domain.AuthRequest) error
|
|
DeleteAuthRequest(ctx context.Context, id string) error
|
|
}
|