authentication

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationRepository

type AuthenticationRepository interface {
	CreateAuthentication(ctx context.Context, arg db.CreateAuthenticationParams) (db.Authentication, error)
	DeleteAuthentication(ctx context.Context, id int64) error
	GetAuthenticationByChallenge(ctx context.Context, challenge string) (db.Authentication, error)
	GetAuthenticationByCode(ctx context.Context, code string) (db.Authentication, error)
	UpdateAuthentication(ctx context.Context, arg db.UpdateAuthenticationParams) (db.Authentication, error)
}

func NewRepository

func NewRepository(repositoryService *db.RepositoryService) AuthenticationRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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