2022-01-12 18:14:47 +00:00
|
|
|
package session
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2022-03-13 10:58:34 +00:00
|
|
|
"source.toby3d.me/toby3d/auth/internal/domain"
|
2022-01-12 18:14:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type UseCase interface {
|
|
|
|
Exchange(ctx context.Context, code string) (*domain.Session, error)
|
|
|
|
}
|