Compare commits

..

No commits in common. "150963c69056c0367e03f88d004ff566548863c2" and "52166f6602b4380cec6e6fd1d19f38b596781f91" have entirely different histories.

2 changed files with 8 additions and 8 deletions

View File

@ -13,8 +13,8 @@ EXECUTABLE ?= indieauth
.PHONY: all clean check help .PHONY: all clean check help
all: main.go all:
$(GO) build -v $(GOFLAGS) -o $(EXECUTABLE) $(GO) build -v $(GOFLAGS) -o $(EXECUTABLE) $<
clean: ## Delete all files in the current directory that are normally created by building the program clean: ## Delete all files in the current directory that are normally created by building the program
-rm $(srcdir)/internal/testing/httptest/{cert,key}.pem -rm $(srcdir)/internal/testing/httptest/{cert,key}.pem

View File

@ -19,25 +19,25 @@ import (
type ( type (
ClientCallbackRequest struct { ClientCallbackRequest struct {
Error domain.ErrorCode `form:"error,omitempty"`
Iss *domain.ClientID `form:"iss"` Iss *domain.ClientID `form:"iss"`
Code string `form:"code"` Code string `form:"code"`
ErrorDescription string `form:"error_description,omitempty"` Error domain.ErrorCode `form:"error"`
ErrorDescription string `form:"error_description"`
State string `form:"state"` State string `form:"state"`
} }
NewRequestHandlerOptions struct { NewRequestHandlerOptions struct {
Matcher language.Matcher
Tokens token.UseCase
Client *domain.Client Client *domain.Client
Config *domain.Config Config *domain.Config
Matcher language.Matcher
Tokens token.UseCase
} }
RequestHandler struct { RequestHandler struct {
matcher language.Matcher
tokens token.UseCase
client *domain.Client client *domain.Client
config *domain.Config config *domain.Config
matcher language.Matcher
tokens token.UseCase
} }
) )