created: auth provider
This commit is contained in:
parent
f5162fcd66
commit
099a586484
6 changed files with 185 additions and 0 deletions
9
internal/interfaces/auth.go
Normal file
9
internal/interfaces/auth.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package interfaces
|
||||
|
||||
import "merch-parser-api/internal/shared"
|
||||
|
||||
type Auth interface {
|
||||
Login(userUuid string) (shared.AuthData, error)
|
||||
Logout(userUuid string, refreshUuid string) error
|
||||
Refresh(userUuid string, refreshUuid string) (shared.AuthData, error)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue