usecases

package
v0.0.0-...-46fca04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAuthUseCase

type IAuthUseCase interface {
	GoogleRedirectURL(ctx context.Context, state string) string
	GetGoogleProfileInfo(ctx context.Context, code string) (google.GoogleUserInfo, error)

	SignJWT(ctx context.Context, usr user.User) (string, string, error)
	ParseJWTRefreshToken(c context.Context, refreshToken string) (user.User, error)

	Signup(ctx context.Context, tag, name, email string) (user.User, error)
	GetByEmail(ctx context.Context, email string) (user.User, error)
}

Directories

Path Synopsis
Package auth is a generated GoMock package.
Package auth is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL