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
Click to show internal directories.
Click to hide internal directories.