zitadel/internal/auth/repository/refresh_token.go

13 lines
373 B
Go
Raw Normal View History

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