mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fa9f581d56
* chore: move to new org * logging * fix: org rename caos -> zitadel Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
18 lines
533 B
Go
18 lines
533 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/zitadel/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
|
|
}
|