1
0
mirror of https://github.com/zitadel/zitadel.git synced 2025-05-10 18:36:47 +00:00

14 lines
472 B
Go
Raw Normal View History

package repository
import (
"context"
"github.com/zitadel/zitadel/internal/user/model"
)
type RefreshTokenRepository interface {
RefreshTokenByID(ctx context.Context, tokenID, userID string) (*model.RefreshTokenView, error)
RefreshTokenByToken(ctx context.Context, refreshToken string) (*model.RefreshTokenView, error)
SearchMyRefreshTokens(ctx context.Context, userID string, request *model.RefreshTokenSearchRequest) (*model.RefreshTokenSearchResponse, error)
}