authentication

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 3 Imported by: 0

README

authentication

Authentication For PMB

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleController

type GoogleController interface {
}

type Repository

type Repository interface {
	UserPassRepository
	UserExist
}

type UPassController

type UPassController interface {
	CheckByEmailPass(ctx context.Context, request *model.UserPass) (data schemas.Pendaftaran, err error)
	CheckByPhoneNumPass(ctx context.Context, request *model.UserPass) (data schemas.Pendaftaran, err error)
}

type UserExist

type UserExist interface {
	CheckUserExists(ctx context.Context, email, phoneNum string) (data schemas.Pendaftaran, err error)
}

type UserPassRepository

type UserPassRepository interface {
	GetByEmailPass(ctx context.Context, email, password string) (data schemas.Pendaftaran, err error)
	GetByPhoneNumPass(ctx context.Context, phoneNum, password string) (data schemas.Pendaftaran, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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