aboutsummaryrefslogtreecommitdiff
path: root/pkg/components/auth/model.go
blob: dd6ce5036b91127e13e37c4e57b7baa13b486a1a (plain)
1
2
3
4
5
6
7
8
9
10
package auth

import "context"

type (
	Repository interface {
		GetIDByUsername(ctx context.Context, username string) (uint, error)
		GetPassword(ctx context.Context, id uint) ([]byte, error)
	}
)