v1

package
v0.0.0-...-ad95247 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler struct {
	Authenticator ports.UserAuthenticator
	TokenBuilder  ports.SessionTokenBuilder
}

func NewAuthHandler

func NewAuthHandler(
	authenticator ports.UserAuthenticator,
	tokenBuilder ports.SessionTokenBuilder,
) *AuthHandler

func (AuthHandler) AuthenticateWithPassword

func (h AuthHandler) AuthenticateWithPassword(writer http.ResponseWriter, request *http.Request)

func (AuthHandler) Endpoints

func (h AuthHandler) Endpoints() []api.Endpoint

type GraphQLHandler

type GraphQLHandler struct {
	// contains filtered or unexported fields
}

func NewGraphQLHandler

func NewGraphQLHandler(client *ent.Client) *GraphQLHandler

func (*GraphQLHandler) Endpoints

func (h *GraphQLHandler) Endpoints() []api.Endpoint

Jump to

Keyboard shortcuts

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