mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
15 lines
322 B
Go
15 lines
322 B
Go
|
package repository
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/caos/zitadel/internal/auth_request/model"
|
||
|
)
|
||
|
|
||
|
type Repository interface {
|
||
|
Health(ctx context.Context) error
|
||
|
|
||
|
GetAuthRequestByID(ctx context.Context, id string) (*model.AuthRequest, error)
|
||
|
SaveAuthRequest(ctx context.Context, id string) (*model.AuthRequest, error)
|
||
|
}
|