2021-12-29 20:17:33 +00:00
|
|
|
package user
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2022-03-13 10:58:34 +00:00
|
|
|
"source.toby3d.me/toby3d/auth/internal/domain"
|
2021-12-29 20:17:33 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type UseCase interface {
|
|
|
|
// Fetch discovery all available endpoints and Profile info on Me URL.
|
|
|
|
Fetch(ctx context.Context, me *domain.Me) (*domain.User, error)
|
|
|
|
}
|